Problem 1000: A+B - more functional!