PaiGuDragon participated in the game of fake-blackjack.
Each card is written with a number from

to

. In the game, the PaiGuDragon can choose "shoot" or "stay".
If selecting "shoot",
PaiGuDragon will draw the card at the top of the stack.
If selecting "stay",
PaiGuDragon will end draw and count the sum of points.
If the total number of cards drawn exceeds

, then PaiGuDragon lose everything!
On the premise that the sum of points is less than or equal to

, the greater the sum of points, the stronger the card power.
As a clairvoyant, PaiGuDragon can see every card in the stack from top to bottom. So how many cards will the smart PaiGuDragon choose to draw to get the best result?