while 1:print raw_input().decode('u8').encode('punycode')