eye, mouth = [input() for i in range(2)] print("({}{}{})/".format(eye, mouth, eye))