t1 = input() t2 = input() print('('+t1+t2+t1+')/')