A*B Problem II

Login before discuss