def main(): a = input() b = input() print(f'({a}{b}{a})/') if __name__ == '__main__': main()