Medium
Shopping Total
Read the price and quantity of two items (four lines: price1, qty1, price2, qty2). Print the total, then the total after a 10% discount with 2 decimals.
Input
Four integers.
Output
Two lines.
Sample 1
Input
100 2 50 3
Output
350 315.00
Sample 2
Input
10 1 10 1
Output
20 18.00
Output appears here