A = [] for i in range(0,2) : A.append(raw_input()) print ("("+str(A[0])+str(A[1])+str(A[0])+")/")