P16655 [CodeChef] VDATES
普及-
题目描述

Read problem statements in [Mandarin], [Bengali], [Russian], and [Vietnamese] as well.

Chef has taken his first dose of vaccine D days ago. He may take the second dose no less than L days and no more than R days since his first dose.

Determine if Chef is too early, too late, or in the correct range for taking his second dose.

------ Input Format ------

  • First line will contain T, number of testcases. Then the testcases follow.
  • Each testcase contains of a single line of input, three integers D, L, R.

------ Output Format ------

For each test case, print a single line containing one string - "Too Early" (without quotes) if it's too early to take the vaccine, "Too Late" (without quotes) if it's too late to take the vaccine, "Take second dose now" (without quotes) if it's the correct time to take the vaccine.

------ Constraints ------

$1 ≤ T ≤ 10^{5}$
$1 ≤ D ≤ 10^{9}$
$1 ≤ L ≤ R ≤ 10^{9}$

------ subtasks ------

Subtask 1 (100 points): Original constraints

----- Sample Input 1 ------
4
10 8 12
14 2 10
4444 5555 6666
8 8 12

----- Sample Output 1 ------
Take second dose now
Too Late
Too Early
Take second dose now
----- explanation 1 ------
Test case $1$: The second dose needs to be taken within $8$ to $12$ days and since the Day $10$ lies in this range, we can take the second dose now.

Test case $2$: The second dose needs to be taken within $2$ to $10$ days since Day $14$ lies after this range, it is too late now.

Test case $3$: The second dose needs to be taken within $5555$ to $6666$ days and since the Day $4444$ lies prior to this range, it is too early now.

输入格式

见题面

输出格式

见题面

样例输入
4 10 8 12 14 2 10 4444 5555 6666 8 8 12
样例输出
Take second dose now Too Late Too Early Take second dose now