S = str(input()) T = str(input()) print("(",S,T,S,")/")