2003' ACM/ICPCѵϰ 17

C: Throw the Dice