A + B?
Petryk has been given the same homework assignment again: to find the sum of two natural numbers, A and B. However, because Petryk is an enthusiastic fisherman eager to go fishing in the evening, he hastily copied the assignment and often made a mistake: sometimes he wrote a subtraction sign "-" instead of the addition sign "+". After his fishing trip, Petryk sat down to complete his homework, solving each example exactly as it appeared in his notebook.
Can you help solve this assignment too?
Input
The first line contains the number of examples, N, followed by N lines in the format A+B, where A and B are two given natural numbers. Between them, without spaces, is either the addition symbol "+" or the subtraction symbol "-".
The input data is guaranteed to follow the specified format (refer to the example input data). The input data does not exceed 10^500. 0 < N ≤ 800.
Output
Output the results for each example on N separate lines.