for in range 61 for in range 41 if 20 and print

1
2
3
4
5
6
n = 0
for i in range(0,61):
for j in range(0, 41):
if 5*i - 7*j <= 20 and 5*i - 7*j >= 0:
n += 1
print(n)