atcoder#ABC298A. [ABC298A] Job Interview

[ABC298A] Job Interview

Score : 100100 points

Problem Statement

Takahashi had a job interview.

You are given the number of interviewers, NN, and a string SS of length NN representing the interviewers' evaluations of him. For each i=1,2,,Ni=1,2,\ldots,N, the ii-th character of SS corresponds to the ii-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

  • 1N1001 \leq N \leq 100
  • SS is a string of length NN consisting of o, -, and x.

Input

The input is given from Standard Input in the following format:

NN

SS

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 100100-th interviewer's evaluation is Poor, so he fails.