a^2 - 50a + (b - 50b - 47) = 0 which is a quadratic in a.

should be

a^2 - 50a + (b^2 - 50b - 47) = 0 which is a quadratic in a.

blackjack

flooble's webmaster puzzle