eye=input() mouse=input() print("({e}{m}{e})/".format(e=eye,m=mouse))