there are 28 balls which are red , blue or green . if 12 balls are green and the sum of red balls and green balls is less than 24 , at most how many red balls are there ?
n0 = 28.0
n1 = 12.0
n2 = 24.0

answer = n1 - 1.0
print(answer)