class Problem0591: def solve(this): t1 = str(input()) t2 = str(input()) print("(" + t1 + t2 + t1 +")/") if __name__ == "__main__": problem = Problem0591() problem.solve()