Input format
The first line contains the number n-the number of operations. The following n lines contain operations in the format: "Operation Number1", where the operation is one of the Add, Sub, Mul, Div DIV>
Output format
the results of all operations in a sorted manner, each on a new line. Then the line with statistics in the format: "Operations: X, Cache Hits: Y", where X is the total number of operations, Y - the number of appeals to the Cash
Example
Input
6
Add 5 3
Mul 2 4
Add 5 3
Div 10 2
Mul 2 4
Sub 7 1
Output
5.0
6.0
8.0
8.0
8.0
8.0
Operations: 6, Cache Hits: 2
Hint
There will be no clue here, decide for yourself!