Silvio Conte's submission of PrePre | CodeChef