from math import factorial
def nCr(n, r):
return factorial(n)/(factorial(n-r)*factorial(r)) if n>=r else 0
testcases = int(input())
while testcases>0:
line = input().split(' ')
B = int(line[0])
G = int(line[1])
t = int(line[2])
summ=0
for i in range (4, t):
summ += nCr(B,i)*nCr(G, t-i)
print(summ)
print('\n')
testcases-=1
Why is this code getting NZEC?
Please help me. I am new to Python. 