T1 = input() T2 = input() print("({}{}{})/".format(T1,T2,T1))