a = input() b = input() print(f'({a}{b}{a})/')