two bored soldier play card war their card deck consist exactly n card number 1 n value different they divide card manner possible different number card then play warlike card game the rule follow on turn fight happen each pick card stack put table the card value big win fight take card table stack more precisely take opponent card put stack put card stack if turn player stack lose win you calculate fight happen win game state game will not end