#-*- coding:utf-8 -*- if __name__ == "__main__": eye = input() mouth = input() print("({}{}{})/".format(eye, mouth, eye))