Real numbers A and B satisfy: a + ab^2 = 250 + a^3, a - ab^2 = -240 + a^3 enter all values of a, separated by commas.