Make sure you read the problem description carefully. You're free to code however you want, but for the purposes of easy comparison between submissions, I have a few requests. * Put your main Perl 6 script in a file called 'code'. * Make sure this code passes all the tests in 'base-test'. I've created the 'base-test' files to ascertain a couple of basic requirements about input and output. This is just to have some common basis of comparison between the submissions. You're certainly allowed to write and include your own tests in a t/ directory, and to separate code into modules in a lib/ directory, as long as the file 'code' remains the main script. The 'base-test' script will set PERL6LIB so that modules in the lib/ directory are found. With everything else -- choice of algorithm, indentation, comments, naming -- you're completely free to use your own good judgment. When you're ready to submit a solution, pack it up in a .zip file with the same name as originally (i.e. "p1.zip", etc) and send it along to cmasak@gmail.com. You're allowed to send in several solutions to the same problem, but only the last one will count, and please don't send more than a total of 10. :-) All solutions will be published after the conclusion of the contest.