The Game of NIM powered by(view source)

Description NIM is a simple game where there is 3 piles and a set amount of stones in each pile. Take turns with the computer removing stones from piles. The player that removes the last stone from the last pile loses
Output