IPv6 prefix representation by lifthrasiir

print'.'.join(''.join(i.zfill(4)for i in raw_input().split(':'))[31::-1].zfill(32))+'.ip6.arpa.'

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top