def main(): eyes = input() mouth = input() kaomozi = f"({eyes}{mouth}{eyes})/" print(kaomozi) if __name__ == '__main__': main()