eye = input() mouth = input() a = '(' + eye + mouth + eye + ')/' print(a)