#abc211b. [abc211_b]Cycle Hit

[abc211_b]Cycle Hit

Problem Statement

You are given four strings S1S_1, S2S_2, S3S_3, and S4S_4.
Determine whether this sequence of strings has one of each of the following: H, 2B, 3B, and HR.
Here, it is guaranteed that every SiS_i is H, 2B, 3B, or HR.

Constraints

  • Each SiS_i is H, 2B, 3B, or HR.

Input

Input is given from Standard Input in the following format:

S1S_1 S2S_2 S3S_3 S4S_4

Output

If the given sequence of strings has one of each of H, 2B, 3B, and HR, print Yes.
Otherwise, print No.


Sample Input 1

3B
HR
2B
H

Sample Output 1

Yes

We have one of each of H, 2B, 3B, and HR.


Sample Input 2

2B
3B
HR
3B

Sample Output 2

No

We have no H.