The flag has 50 pieces. Party A and Party B take turns to take the pieces. They can take five pieces at most and one at least. If they take the last one, they will win. How many pieces should Party A take first? How can they win later? How many should I take after a? How to win after that?

The flag has 50 pieces. Party A and Party B take turns to take the pieces. They can take five pieces at most and one at least. If they take the last one, they will win. How many pieces should Party A take first? How can they win later? How many should I take after a? How to win after that?

Take two;
Then go to B, B takes x, a takes 6-x
50-2 = 48 is a multiple of 6, so a is sure to win
This is a classic model of game theory, and there is no winning strategy
If B is stupid, he doesn't take two
A can use the same strategy as above to get the remaining 6 multiples
For example, B 1 is a 1, B 3 is a 5, B 4 is a 4, b 5 is a 3