#include #include using namespace std; int main() { string a, b; while(cin >> a >> b) { int t = a.find('_'); for(int i = t +1; i < a.length(); ++i) cout << a[i]; cout << "_small_"; t = b.find('_'); for(int i = t +1; i < b.length(); ++i) cout << b[i]; cout << endl; } }