t1 = input() t2 = input() print(f"({t1}{t2}{t1})/")