def main(): T1 = input() T2 = input() print(f"({T1}{T2}{T1})/") if __name__ == "__main__": main()