#include using namespace std; int main() { string s, t; cin >> s >> t; string ans = "(" + s + t + s + ")/"; cout << ans << endl; return 0; }