UVa 10921 - Find the Telephone

10921 - Find the Telephone

 * http://acm.uva.es/p/v109/10921.html

Summary
Very simple problem. Read in a bunch of phone numbers, consisting only of capital letters, hyphens, and the numbers 1 and 0. Convert every letter you find into its numeric equivalent given in the table, and leave all other characters alone.

Explanation
No, really. It's that simple.

Input
1-HOME-SWEET-HOME MY-MISERABLE-JOB -10100---

Output
1-4663-79338-4663 69-647372253-562 -10100---