def face_creator(eye:str,mouth:str): return "({0}{1}{0})/".format(eye,mouth) eye = input() mouth = input() print(face_creator(eye,mouth))