1028: Job Interview

Memory Limit:1024 MB Time Limit:2.000 S
Judge Style:Text Compare Creator:
Submit:30 Solved:15

Description

Takahashi had a job interview. You are given the number of interviewers, N, and a string S of length N representing the interviewers' evaluations of him.For each i=1,2,…,N, the i-th character of S corresponds to the i-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: 1≤N≤100 S is a string of length N consisting of o, -, and x.

Input

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

Output

If Takahashi passes, print Yes; otherwise, print No.

Sample Input Copy

4
oo--

Sample Output Copy

Yes