J='.'.join;print(J(J(e.zfill(4))for e in raw_input().split(':'))+'.0'*9)[62::-1]+'.ip6.arpa.'
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page