Moderator Note: this post was highlighted on the Wolfram's official social media channels. Thank you for your contribution. We are looking forward to your future posts.
Thanks for sharing!
Thanks for your kind comment! Glad you like the post.
There's a lot of good stuff here: the problem was recognized as having good "solution potential," and the solution approach and code are a pleasure to read. Also, btw, I did not know of AllTrue until I saw it here. Thank you, Rauan, for posting!
-- you have earned Featured Contributor Badge Your exceptional post has been selected for our editorial column Staff Picks http://wolfr.am/StaffPicks and Your Profile is now distinguished by a Featured Contributor Badge and is displayed on the Featured Contributor Board. Thank you!