Help me in solving CCHOCOLATES problem

My issue

x,y,n = input().split()
explain how to use

My code

# cook your dish here
T = int(input())
for i in range(T):
    x,y,n = input().split()
    x = int(x)
    y = int(y)
    n = int(n)
    total = x*5+y*10
    choc = int(total/n)
    print(choc)

i think your code is correct in logic as i don’t know about python