#include <bits/stdc++.h>
using namespace std;
const int maxn = 102;
int vis[maxn];
int main() {
  int n, x, y;
  while (cin >> n) {
    memset(vis, 0, sizeof(vis));
    cin >> x;
    for (int i = 1; i <= x; i++) {
      cin >> y;
      vis[y] = 1;
    }
    cin >> x;
    for (int i = 1; i <= x; i++) {
      cin >> y;
      vis[y] = 1;
    }
    int flag = 1;
    for (int i = 1; i <= n; i++) {
      if (!vis[i]) {
        flag = 0;
        break;
      }
    }
    if (flag) {
      cout << "I become the guy." << endl;
    } else {
      cout << "Oh, my keyboard!" << endl;
    }
  }
  return 0;
}
