Congratulations! You have passed the preliminary screening of the Academy of Covert Missions and are now on your final test.
You have been tasked to keep track of some #cf_span(class=[tex-font-style-underline], body=[bops]) roaming around the Town Hidden in the Leaves. These #cf_span(class=[tex-font-style-underline], body=[bops]) are creatures that move very swiftly and are hard to spot, but you and your team have been successful in placing Toogly Tags around their necks. These tags allow you to know what each creature is doing, and even know where it is. Unfortunately, Nagaraiya, your examiner, tells you that you ended up putting the Toogly Tags on other creatures as well that are not #cf_span(class=[tex-font-style-underline], body=[bops]), and now you have to sort them out! That's nuts!
Thankfully those Toogly Tags that you attached not only know what the creatures are doing, but can also record the sounds that they are making as well. You remember the age-old Covert Agent Way: "If it beeps like a #cf_span(class=[tex-font-style-underline], body=[bop]) and boops like a #cf_span(class=[tex-font-style-underline], body=[bop]), then it must be a #cf_span(class=[tex-font-style-underline], body=[bop])."
With this wisdom that is almost as old as Wan Puhn Seh, you now have a way to sort the #cf_span(class=[tex-font-style-underline], body=[bops]) from the other creatures! #cf_span(class=[tex-font-style-underline], body=[Bops]) can only make the sounds "BEEP" or "BOOP". Other creatures make their own sounds that are never "BEEP" or "BOOP".
You now go back to Nagaraiya and tell him which ones are #cf_span(class=[tex-font-style-underline], body=[bops]) and which ones are not!
On the first line is an integer $C$, the number of creatures that you have attached Toogly Tags on. Then follow $C$ blocks describing the sounds that each creature makes.
Each block starts with a line containing an integer $N_i$, the number of sounds that the $i^(t h)$ creature made. Then follow $N_i$ strings, each on its own line, indicating a sound that the $i^(t h)$ creature made.
*Constraints*
$1 <= C <= 350$
$1 <= N_i <= 350$
Each sound consists of uppercase letters only and has length between $1$ and $10$ (inclusive).
If the creature is a bop, print "_IT'S A BOP!_" (without the quotes). Otherwise, output "_IT'S NOT A BOP!_" (without the quotes).
## Input
On the first line is an integer $C$, the number of creatures that you have attached Toogly Tags on. Then follow $C$ blocks describing the sounds that each creature makes.Each block starts with a line containing an integer $N_i$, the number of sounds that the $i^(t h)$ creature made. Then follow $N_i$ strings, each on its own line, indicating a sound that the $i^(t h)$ creature made.*Constraints*$1 <= C <= 350$$1 <= N_i <= 350$Each sound consists of uppercase letters only and has length between $1$ and $10$ (inclusive).
## Output
If the creature is a bop, print "_IT'S A BOP!_" (without the quotes). Otherwise, output "_IT'S NOT A BOP!_" (without the quotes).
[samples]
**Definitions**
Let $ \ell, w \in \mathbb{Z}^+ $ with $ \ell > w $.
The grid has dimensions $ \ell \times w $, with cells indexed from $ (1,1) $ (top-left) to $ (\ell, w) $ (bottom-right).
**Constraints**
A cell $ (i, j) $ is **blocked** if $ j < i - (\ell - w + 1) + 1 $ or $ j > i $.
Equivalently, a cell $ (i, j) $ is **accessible** if and only if:
$$
i - (\ell - w) \leq j \leq i
$$
and $ 1 \leq i \leq \ell $, $ 1 \leq j \leq w $.
**Objective**
Count the number of monotonic paths from $ (1,1) $ to $ (\ell, w) $, using only right ($ \rightarrow $) and down ($ \downarrow $) moves, staying entirely within the accessible region.
Output the result modulo $ 104857601 $.