CY's Brute-Force Take on Task 2 of PWC#089
If you want to challenge yourself on programming, especially on Perl and/or Raku, go to https://perlweeklychallenge.org, code the latest challenge, submit codes on-time (via GitHub or email).
(In a rush, sorry for the "raw" style this week.)