i=input print('({0}{1}{0})/'.format(i(),i()))