while''do _=io.read()print(_:sub(1,(_.._):find(_,2,1)-1))end