9490: ABC218 —— A - Weather Forecast
[Creator : ]
Description
You are given a string $S$, which represents a weather forecast for the seven days starting tomorrow.
The $i$-th of those seven days is forecast to be sunny if the $i$-th character of $S$ is `o`, and rainy if that character is `x`.
Tell us whether the $N$-th day is forecast to be sunny.
The $i$-th of those seven days is forecast to be sunny if the $i$-th character of $S$ is `o`, and rainy if that character is `x`.
Tell us whether the $N$-th day is forecast to be sunny.
Input
Input is given from Standard Input in the following format:
```
$N$
$S$
```
```
$N$
$S$
```
Output
Print `Yes` if the $N$-th of the seven days starting tomorrow is forecast to be sunny, and `No` if that day is forecast to be rainy.
Constraints
- $N$ is an integer between $1$ and $7$ (inclusive).
- $S$ is a string of length $7$ consisting of `o` and `x`.
- $S$ is a string of length $7$ consisting of `o` and `x`.
Sample 1 Input
4
oooxoox
Sample 1 Output
No
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.
In particular, the fourth day is forecast to be rainy.
Sample 2 Input
7
ooooooo
Sample 2 Output
Yes