eye= str(input()) mouth= str(input()) print(f"({eye}{mouth}{eye})/")