5. There are 2014 matches on the table. Each of the two players is allowed to take no more than 7 matches, but not less than one, in turn. The one who takes the last one wins.

Who wins with the correct strategy - the one starting the game or the second player? What is the winning strategy?
Solution: The beginner takes six matches on the first move, and then each time complements the number of matches taken by the opponent to eight.

Note: with correct play, the beginner wins.