A+B problem