UVa 10260 - Soundex

Summary
Given a word determine its sound represented in digits

Explanation

 * Generate a mapping to numbers and figure out what each sound will produce.
 * If the previous letter was the same dont output anything.

Implementations

 * Code All the Problems

Input
KHAWN PFISTER BOBBY

Output
25 1236 11