[UVA] 11005 - Cheapest Base
Problem B
Cheapest Base
Input: Standard Input
Output: Standard Output
When printing text on paper we need
ink. But not every character needs the same amount of ink to print: letters
such as 'W', 'M' and '8' are more expensive than thinner letters as 'i', 'c' ...