f(char*c){for(;*c;)printf("%02d",*c++-96);} v[];main(){f(gets(v));}
codegolf
0315040507151206
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!