T1 = input() T2 = input() print(f"({T1}{T2}{T1})/")