Easter Egg!
Life is full of regrets. Imagine yourself in this room after the mini competition. When you are listening to the editorial, then you realize that you missed a key observation, or made a careless mistake. This vital mistake caused you to drop a few ranks.
“If I could have readjusted my time distribution on the tasks, I would have scored a higher score”.
Today is your lucky day. After discovering LMC’s Little Theorem, LMC has discovered another theorem, LMC’s Time Theorem. You are given the opportunity to return to the beginning of the mini competition and play the mini competition once again !
In this mini competition, there are $N$ tasks $(1 \le N \le 10^{5})$. The time distribution of the first time you attempted the mini competition will be denoted by $N$ integers, $A_1$, $A_2$,...,$A_N$, where $(0 \le A_i \le 10^{5})$. The time distribution of the second time you attempted the mini competition will be denoted by $N$ integers, $B_1$, $B_2$,...,$B_N$, where $(0 \le B_i \le 10^{5})$.
However, people often make the same mistakes even when they have a second chance. You are not sure whether you successfully changed your fate and score in this mini competition. In simpler terms, if you have spent more or less time on any task on the second time than the first time, you have successfully seized the opportunity to change your fate and score, then output You can redo. On the contrary, output You cannot redo.
Input
The first line consists of a single integer $N$.
The second line consists of $N$ integers, $A_1$, $A_2$,...,$A_N$.
The second line consists of $N$ integers, $B_1$, $B_2$,...,$B_N$.
Output
Either output You can redo or You cannot redo according to the circumstances mentioned above.
Subtasks
Subtask 1 (20 pts): $N = 1$
Subtask 2 (30 pts): $1 \le N \le 3$
Subtask 3 (50 pts): $1 \le N \le 10^5$
Sample Test Cases
| Input | Output | |
|---|---|---|
| 1 2 2 |
You cannot redo | |
| This sample input follows the constraints of subtask 1. As you have not changed any time distributions on any task, you cannot redo this mini competition. | ||
| 3 4 7 9 4 8 9 |
You can redo | |
| As you have changed the time distribution on task 2, you can redo this mini competition. | ||
Scoring: Per Subtask
Authored by wy23918
Appeared in WYHK 2026 Mini Contest 2