#### Registered Users Only

Please login to utilize this feature.

Do note that this website only supports submissions in C++.

Spongebob and Patrick are having a competition.
In their competition, they are supposed to solve simple math sums involving the subtraction and addition of 2 numbers.
They decided to give each other a list of *n* such questions to complete.

Now, they have completed the questions and in order to ensure fairness, they want you to mark it.
However, *n* can go up to 5000 resulting in that being a very tedious chore.
You therefore decided to create a program to mark it for them!

## Input

The first line of input is a single integer, *n*
The following 2*n* lines is as follows:
<Integer> <Operator> <Integer> = <Integer>
The first *n* lines belong to Spongebob while the remaining n lines belong to Patrick.

## Output

The program should output the number of correct equations Spongebob and Patrick have, respectively.

## Grading

For 30% of the test cases, there will only be addition.For 30% of the test cases, there will only be subtraction.

For 80% of the test cases, 1 <=

*n*<= 100

For 100% of the test cases, 1 <=

*n*<= 5000 and all numbers below 5000.

For 50% of the test cases, the numbers will all be positive.

## Sample Input 1:

35 + 6 = 11

3 - 9 = 4

5 + -3 = 2

9 - 6 = 3

4 + 8 = 12

1 - 2 = -1

## Sample Output 1:

Spongebob: 2Patrick: 3

### Tags

### Subtasks and Limits

Subtask | Score | #TC | Time | Memory | Scoring |
---|---|---|---|---|---|

1 | 100 | 10 | 1s | 32MB | Average |

2 | 0 | 1 | 1s | 32MB | Average |

### Judge Compile Command

g++-7 ans.cpp -o marker -Wall -static -O2 -lm -m64 -s -w -std=gnu++17 -fmax-errors=512