J. Sargento Camelas Rico
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output

In the bustling city of Chorizolandia, Sergeant Camelas, a sharp and experienced traffic officer, has just pulled over a driver for a violation. The sergeant is well aware that in this city, some drivers attempt to "negotiate" their fines through subtle, often indirect means. To effectively identify these illicit attempts, the sergeant has meticulously memorized five secret keywords. He understands that if these five words are spoken consecutively by a driver, forming any one of their 5 possible ordered arrangements, it constitutes a clear signal of attempted bribery, leading to a significantly escalated fine.

The driver, desperate to avoid the standard traffic fine and completely unaware of the sergeant's unique detection method, decides to launch into a long, rambling statement. Their hope is to "smooth over" the situation by trying out various combinations of words, including, unknowingly, permutations of the sergeant's secret keywords.

Your task is to analyze the driver's complete sentence. Specifically, you must determine if any of the 5! permutations of the five secret keywords appears as a contiguous substring within the phrase the driver says to the sergeant. If such a specific keyword sequence is detected, indicating a negotiation attempt, the fine will be increased. Otherwise, the original fine remains in effect.

Input

The input will consist of two lines:

  • A single line containing the complete phrase (S) the driver says to the sergeant without spaces. The length of S will be between 1 and $$$10^4$$$ characteres. It will contain only english lowercase letters.
  • A single line containing the five keywords, separated by a single space. Each keyword will consist only of lowercase letters and have a length between 1 and 10 characters.
Output

Print "Nooo, la polizzia" if any of the 5 permutations of the keywords are found as a contiguous substring in the driver's phrase, indicating that the fine will be higher. Otherwise, print "Sargento Camelas, Gracias!", meaning the fine remains the same.

Examples
Input
senoragentetengocienmilrazonesparasolucionaresto
razones para solucionar mil cien
Output
Nooo, la polizzia
Input
senoragentetengocienmilrazonesparasolucionaresto
razones para solucionar mil diez
Output
Sargento Camelas, Gracias!
Input
senoragentehaycienmilrazonesparasolucionaresto
agente cien mil razones solucionar
Output
Sargento Camelas, Gracias!