Problem2229--Weather Forecast

2229: Weather Forecast

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

Time Limit: 2 sec / Memory Limit: 1024 MB

Score : 100100 points

Problem Statement

You are given a string SS, which represents a weather forecast for the seven days starting tomorrow.
The ii-th of those seven days is forecast to be sunny if the ii-th character of SS is o, and rainy if that character is x.
Tell us whether the NN-th day is forecast to be sunny.

Constraints

  • NN is an integer between 11 and 77 (inclusive).
  • SS is a string of length 77 consisting of o and x.

Input

Input is given from Standard Input in the following format:
NNSS

Output

Print Yes if the NN-th of the seven days starting tomorrow is forecast to be sunny, and No if that day is forecast to be rainy.

Sample Input Copy

4
oooxoox

Sample Output Copy

No

HINT

The forecast for each of the seven days starting tomorrow is as follows: sunny, sunny, sunny, rainy, sunny, sunny, rainy.
In particular, the fourth day is forecast to be rainy.

Source/Category