https://perlchallenges.wordpress.com/2020/03/09/perl-weekly-challenge-051/