import os;t=os.read(0,1422) while 1:exec'print t[:-5]'+'.replace("@i",raw_input(),1)'*12