Pizzeria Cash Register

From 1992 Niagara South Programming Competition:

"Write a program which simulates an automatic cash register.  The input will be a two character code representing the size and number of extra toppings.  The first character of the code will be an 'S', an 'M' or a 'L' representing small, medium and large.  The second character of the code will be a digit 0 through 9 representing the number of extra toppings ordered.  The output should show the basic cost of the pizza, the cost of the additional items, the total pizza cost, the GST calculated at 7%, the PST calculated at 8% and the TOTAL BILL."

An example code would be "M2".

Save as "NS1992A1-CashRegister".