Skip to content

Instantly share code, notes, and snippets.

@arodland
Created July 13, 2010 00:38
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save arodland/473289 to your computer and use it in GitHub Desktop.
@u=split'','43350435543668877988';$_=<>;chop;
print"$_ is ".($_=$_<20?$u[$_]:(6,6,5,5,5,7,6,6)[$_/10-2]+($_%10?$u[$_%10]:0)or"magic").".
"while$_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment