This is the simple console project with a solution for olympiad problem I'we found once on some website. I like it becouse my solution (I don't really know what is canonical) uses recursion, and I enjoy it's power.