e = input() m = input() print(f'({e}{m}{e})/')