def main(): T1, T2 = (input() for _ in [0] * 2) face = '(' + T1 + T2 + T1 + ')/' print(face) main()