P11034 [MX-X3-T1] "RiOI-4" What Beats RiOI

Background

Original problem link: 。 --- ![](https://cdn.luogu.com.cn/upload/image_hosting/tb8chlhk.png) But as everyone knows, RiOI split off from KDOI, so this is just for fun... (whisper) Sorry, KDOI, meow!

Description

Define a string as **good flash** if and only if it contains the substring `RiOI` (case-insensitive, for example, containing `rioi`, `RIOI`, `rIoI` all counts as containing it). Given two non-empty strings $s, t$ that contain only uppercase and lowercase English letters: - If both strings are good flash, output `Either is ok!`。 - Otherwise, if $s$ is good flash, output $s$ `for sure!`。 - Otherwise, if $t$ is good flash, output $t$ `for sure!`。 - If neither string is good flash, output `Try again!`。

Input Format

Two lines, each contains a non-empty string consisting only of uppercase and lowercase English letters, representing $s, t$.

Output Format

One line with one string, representing your answer.

Explanation/Hint

**Sample Explanation #1** `RiOI` contains the substring `RiOI`, while `KDOI` does not, so output `RiOI for sure!`。 **Sample Explanation #2** `RiOIroundfour` and `RiOIroundnegtiveone` both contain the substring `RiOI`, so output `Either is ok!`。 **Sample Explanation #4** `GoInForIOI` contains the substring `rIOI`, while `GoInForNOI` does not, so output `GoInForIOI for sure!`。 **Constraints** For $50\%$ of the testdata, $s, t$ are guaranteed to contain only lowercase English letters. For $100\%$ of the testdata, the lengths of $s, t$ are both at most $1\ 000$, and both are non-empty strings consisting only of uppercase and lowercase English letters. Translated by ChatGPT 5