#R298A. [ABC298A] Job Interview
[ABC298A] Job Interview
Score : points
Problem Statement
Takahashi had a job interview.
You are given the number of interviewers, , and a string of length representing the interviewers' evaluations of him.
For each , the -th character of corresponds to the -th interviewer's evaluation; o means Good, - means Fair, and x means Poor.
Takahashi will pass if both of the following conditions are satisfied, and fail otherwise.
- At least one interviewer's evaluation is Good.
- No interviewer's evaluation is Poor.
Determine whether Takahashi passes.
Constraints
- is a string of length consisting of
o,-, andx.
Input
The input is given from Standard Input in the following format:
Output
If Takahashi passes, print Yes; otherwise, print No.
4
oo--
Yes
The first and second interviewers' evaluations are Good, and no interviewer's evaluation is Poor, so he passes.
3
---
No
No interviewer's evaluation is Good, so he fails.
1
o
Yes
100
ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooox
No
The -th interviewer's evaluation is Poor, so he fails.