12
Example
Can you win this with k=4 pebbles ?
A=
B=