You have three heaps. Each have some sticks. You are allowed to take as many sticks you want, from ONE heap. Take the last stick and win! The computer plays a perfect game. You have to play perfect too, to win.
http://en.wikipedia.org/wiki/Nim