Top Coder - Lottery problem SRM 144 DIV 1