me = input()
kuchi = input()
print("("+me+kuchi+me+")/")