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