If card B incorporates a decrease amount than card A, swap the positions of cards A and B. Don't forget you probably did this. If you swap playing cards, tend not to change the placement P. These extra intricate financial use circumstances were even highlighted by Ethereum creator Vitalik Buterin http://ethtousd17350.articlesblogger.com/19027184/detailed-notes-on-algoritham