{"problem":{"name":"Cycle Hit","description":{"content":"You are given four strings $S_1$, $S_2$, $S_3$, and $S_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","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc211_b"},"statements":[{"statement_type":"Markdown","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`.\n\n## Constraints\n\n*   Each $S_i$ is `H`, `2B`, `3B`, or `HR`.\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$S_1$\n$S_2$\n$S_3$\n$S_4$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc211_b","tags":[],"sample_group":[["3B\nHR\n2B\nH","Yes\n\nWe have one of each of `H`, `2B`, `3B`, and `HR`."],["2B\n3B\nHR\n3B","No\n\nWe have no `H`."]],"created_at":"2026-03-03 11:01:14"}}