Fibonacci Nim

JavaScript

Ending Condition:

How many do you remove?