N = input() K = input() join = "(" + N + K + N + ")/" print(join)