{"raw_statement":[{"iden":"problem statement","content":"You are given four strings $S_1$, $S_2$, $S_3$, and $S_4$.  \nDetermine whether this sequence of strings has one of each of the following: `H`, `2B`, `3B`, and `HR`.  \nHere, it is guaranteed that every $S_i$ is `H`, `2B`, `3B`, or `HR`."},{"iden":"constraints","content":"*   Each $S_i$ is `H`, `2B`, `3B`, or `HR`."},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$S_1$\n$S_2$\n$S_3$\n$S_4$"},{"iden":"sample input 1","content":"3B\nHR\n2B\nH"},{"iden":"sample output 1","content":"Yes\n\nWe have one of each of `H`, `2B`, `3B`, and `HR`."},{"iden":"sample input 2","content":"2B\n3B\nHR\n3B"},{"iden":"sample output 2","content":"No\n\nWe have no `H`."}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}