CodeRoadCodingContest 2014, Qualification, problem PiedaPapelTijera AC.