t1 = input() t2 = input() ans = '({}{}{})/'.format(t1,t2,t1) print(ans)