Bob has finally managed to get a few friends to tag along with him on his camping trip. He has packed all of his stuff neatly into a trunk, but he has trouble fitting the trunk into the trunk of his car. Can he fit the trunk into his car, or is his trunk too large for his trunk?

Bob's trunk is a rectangular prism, with dimensions of . Similarly, his car trunk is also a rectangular prism, with dimensions of . Bob's trunk can rotate his trunk, but it must lie flat on a side (i.e. he can only rotate his trunk in multiples of ).

#### Input Specification

The first line of input will contain three integers , , .

The second and last line of input will contain the integers , , and , respectively.

#### Output Specification

A single character, either `Y`

if the trunk will fit, or `N`

if the trunk does not.

#### Sample Input 1

```
2 3 3
3 3 3
```

#### Sample Output 1

`Y`

#### Sample Input 2

```
2 3 4
4 2 2
```

#### Sample Output 2

`N`

## Comments

https://dmoj.ca/problem/ccc07s2