19 lines
251 B
C++
19 lines
251 B
C++
#include <iostream>
|
|
#include <string>
|
|
using namespace std;
|
|
|
|
int main() {
|
|
|
|
/* Type your code here. */
|
|
string s;
|
|
string result;
|
|
|
|
cin >> s;
|
|
|
|
result = s.substr((s.length()/2)-1, 3);
|
|
|
|
cout << "Midfix: " << result << endl;
|
|
|
|
return 0;
|
|
}
|