Moderate# Counting Games: What Number Should a Player Say to Ensure a Win?

GMAT-DYTNWE

In a certain counting game, two players take turns counting consecutive integers from $1$ up to $30$. Each player can count *one*, *two*, or *three* numbers on his or her turn. For example, Player $\#1$ could begin "$1$,$2$" and Player $\# 2$ could say "$3$", then it would be Player $\# 1's$ turn again. Whichever player says "$30$" loses the game. Assume that Player $\#2$ always acts in their own best interest.

If Player $\#2$ wants to win, what is the highest number under "$29$" that they must say to guarantee a win?