print".".join("".join((x+"0"*4)[:4]for x in(raw_input()+"::")[::-1].split(":")[-8:]))+".ip6.arpa."
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page