CF469A.I Wanna Be the Guy

普及/提高-

通过率:0%

AC君温馨提醒

该题目为【codeforces】题库的题目,您提交的代码将被提交至codeforces进行远程评测,并由ACGO抓取测评结果后进行展示。由于远程测评的测评机由其他平台提供,我们无法保证该服务的稳定性,若提交后无反应,请等待一段时间后再进行重试。

题目描述

There is a game called "I Wanna Be the Guy", consisting of nn levels. Little X and his friend Little Y are addicted to the game. Each of them wants to pass the whole game.

Little X can pass only pp levels of the game. And Little Y can pass only qq levels of the game. You are given the indices of levels Little X can pass and the indices of levels Little Y can pass. Will Little X and Little Y pass the whole game, if they cooperate each other?

输入格式

The first line contains a single integer nn ( 1<=n<=1001<=n<=100 ).

The next line contains an integer pp (0<=p<=n)(0<=p<=n) at first, then follows pp distinct integers a1,a2,...,apa_{1},a_{2},...,a_{p} (1<=ai<=n)(1<=a_{i}<=n) . These integers denote the indices of levels Little X can pass. The next line contains the levels Little Y can pass in the same format. It's assumed that levels are numbered from 1 to nn .

输出格式

If they can pass all the levels, print "I become the guy.". If it's impossible, print "Oh, my keyboard!" (without the quotes).

输入输出样例

  • 输入#1

    4
    3 1 2 3
    2 2 4
    

    输出#1

    I become the guy.
    
  • 输入#2

    4
    3 1 2 3
    2 2 3
    

    输出#2

    Oh, my keyboard!
    

说明/提示

In the first sample, Little X can pass levels [1 2 3], and Little Y can pass level [2 4], so they can pass all the levels both.

In the second sample, no one can pass level 4.

首页