eye = input() mouth = input() face = "(" + eye + mouth + eye + ")/" print(face)