Telephone Keypad Letter Mapping Fixed by mooz

print(readline().replace(/(\d)\1*1/g,function(s,c)String.fromCharCode(+c?89+3*c+s[-1]+c/8:32)))

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

download

return to the top page