quiz13.pl rewritten as a for loop