T1, T2 = input(), input() print(f'({T1}{T2}{T1})/')