What would be the NIM solution for a game where taking the last pieces loses and the heaps are 1,3,5,7,9? I’m struggling with the last row because the first four rows are at Nim sum zero which leaves nothing to cancel out the last row of nine.

This question is for testing whether you are a human visitor and to prevent automated spam submissions.