Fixing a Bug with the B>A Output