Help me in solving BM08D problem

My issue

My code

# Update the code below to solve the problem

t = int(input())
for i in range(t):
    N = int(input())
    total_games = N//30
    remaining_time = N % 30
    print(total_games, remaining_time)

Learning course: Python for problem solving - 1
Problem Link: CodeChef: Practical coding for everyone

your code looks perfect whats the issue??