A^B Problem