19 lines
251 B
C++
Raw Permalink Normal View History

2021-02-19 12:06:26 -05:00
#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;
}