T1=input() T2=input() print('(',end='') print(T1,end='') print(T2,end='') print(T1,end='') print(')/')