#abc298a. [abc298_a]Job Interview
[abc298_a]Job Interview
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
.
Sample Input 1
4
oo--
Sample Output 1
Yes
The first and second interviewers' evaluations are Good, and no interviewer's evaluation is Poor, so he passes.
Sample Input 2
3
---
Sample Output 2
No
No interviewer's evaluation is Good, so he fails.
Sample Input 3
1
o
Sample Output 3
Yes
Sample Input 4
100
ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooox
Sample Output 4
No
The -th interviewer's evaluation is Poor, so he fails.