A password is strong if it contains:
- At least 1 digit.
- At least 1 upper-case characters.
- At least 1 lower-case characters.
and at least 8 characters long.
Determine whether or not the given password S is trong.
### Input
- 1 line contains string S.
### Output
- STRONG if S is strong, WEAK otherwise.
### Constraints
- 1≤|S|≤1000.
- S contains only alphanumeric characters.
### Example
Input:
Chiruno9
Output:
STRONG