$/=words;map {$_%5>$0||.say},1..$0+$1*5