From: Jacob Mick on
Thanks for the reply! That didn't quite do what I wanted though. y(b) =/= 9 always

B=
(9,9) 56
(10,9) 56
(11,9) 40
(12,9) 47
....
(9,10) 56
(10,10) 42
(11,10) 35
....
(288,400) 4
(396,400) 10
(397,400) 52
(398,400) 99
(399,400) 36
(400,400) 72