My solution to the MCPC 2009 "Rock, Paper, Scissors" problem