2017CCPCFinalContestOnsiteRound,Sunday,December3rd,2017ProblemA.DogsandCagesJerrylikesdogs.HehasNdogsnumbered0,1,...,N−1.HealsohasNcagesnumbered0,1,...,N−1.Everydayhetakesallhisdogsoutandwalksthemoutside.Whenheisbackhome,asdogscan’trecognizethenumbers,eachdogjust