UVa 11530 - SMS Typing

11530 - SMS Typing

 * http://uva.onlinejudge.org/external/115/11530.html

Summary
A straight forward simulation problem.

Explanation
A straight forward simulation problem.

Gotchas

 * Read the input carefully, refer to the input below.

Input
5

welcome to ulab good luck and have fun abcdefghijklmnopqrstuvwxyz a

Output
Case #1: 0 Case #2: 29 Case #3: 41 Case #4: 57 Case #5: 3