t1 = input() t2 = input() print("({}{}{})/".format(t1, t2, t1))