EYE = input() MOUTH = input() output = '(' + EYE + MOUTH + EYE + ')/' print(output)