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