Description
Why are you not doing Universal Cup?
If you have ever had a ucup account, then you will know that the format of a ucup account is ucup-teamXXXX, where XXXX is a number with at least three digits and no leading zeros.
Now given several account names, please determine whether they match the ucup account format.
Input
The first line contains the number of test cases $T$ ($1 \le T \le 10^5$).
For each test case, one line contains a string $s$ ($1 \le |s| \le 50$) consisting only of lowercase letters, digits, and the hyphen -, representing an account name.
Output
For each test case, output one line YES or NO, indicating whether it matches the ucup format.
Examples
input1
5 abcdeabcdeabc ucup-team7610 ucup-team22 ucup-team01234 ucup-team123456789123456789
output1
NO YES NO NO YES
Note
Will we ever live to see the day when ucup-team123456789123456789 gets registered?