#CCBCHBAHAI0000178. Chinh phục mọi màn chơi (I Wanna Be the Guy)
Chinh phục mọi màn chơi (I Wanna Be the Guy)
I Wanna Be the Guy
Source: Codeforces
Version: Phuoc Hung OJ Extended
Problem
A game has levels numbered from to .
Player X can pass levels . Player Y can pass levels .
They can finish the game together exactly when
$$\{x_1,\ldots,x_p\}\cup\{y_1,\ldots,y_q\}=\{1,2,\ldots,n\}.$$Input
- The first line contains .
- The second line starts with , followed by level indices.
- The third line starts with , followed by level indices.
Output
Print I become the guy. if all levels are covered; otherwise print Oh, my keyboard!.
Subtasks
Subtask 1 (20 points): ; levels inside each list are distinct and belong to .
Subtask 2 (30 points): ; levels inside each list are distinct and belong to .
Subtask 3 (50 points): ; levels inside each list are distinct and belong to .
Example
Input
4
3 1 2 3
2 2 4
Output
I become the guy.
Explanation
X covers levels 1,2,3 and Y covers 2,4, so their union is {1,2,3,4}.