Help me in solving VDATES problem

My issue

My code

# cook your dish here
a = int(input())

for i in range(a):
    D, L, R = map(int, input().split())

Problem Link: CodeChef: Practical coding for everyone

t = int(input())

for i in range(t):
    d,l,r = map(int,input().split())
    if d<l:
        print("Too Early")
    elif d>r:
        print("Too Late")
        print("Take second dose now")

Explanation of the code.