f, m = [str(input()) for _ in range(2)] print("({}{}{})/".format(f, m, f))