1000 A+B Problem