Given an arithmetic expression composed only of '+', '*', '/', '(', ')', and digits, judge it is a valid or invalid expression. Note:
1.It does not matter if the divisor equals zero.
2.Addition sign is a binary operator. So, expressions below:
are both invalid.
The first line is an integer t specifying the number of test cases.
Then t lines follow. Each contains an expression no longer than 100 characters.
For each test case, if it is a valid expression, output "Yes", else output "No".