i,j,k = 0 c = 0 while(i<13): i = i+1 while(j<4): j = j+1 while(k<10): k = k+1 if i == j+k: c = c+1 print(c-8)