#include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); string S, T; cin >> S >> T; cout << "(" << S << T << S << ")/" << '\n'; return 0; }