#include <bits/stdc++.h>
using namespace std;
int vis[110];
int main() {
  int n, a1, a2;
  scanf("%d", &n);
  memset(vis, 0, sizeof(vis));
  scanf("%d", &a1);
  while (a1--) {
    int t;
    scanf("%d", &t);
    vis[t] = 1;
  }
  scanf("%d", &a2);
  while (a2--) {
    int t;
    scanf("%d", &t);
    vis[t] = 1;
  }
  bool ok = true;
  for (int i = 1; i <= n; i++)
    if (!vis[i]) {
      ok = false;
      break;
    }
  ok ? printf("I become the guy.\n") : printf("Oh, my keyboard!\n");
  return 0;
}
