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