begin
for var i := 5 to 999 do
if i mod 10 = 5 then i.Print;
Println; Println;
for var i := 100 to 999 do
if (i mod 5 = 0) or (i mod 11 = 0) or (i mod 13 = 0) then i.Print;
for var i := 10 to 99 do
if (i mod 10 + i div 10).IsEven then i.Print
end.
begin
for var i := 5 to 999 do
if i mod 10 = 5 then i.Print;
Println; Println;
for var i := 100 to 999 do
if (i mod 5 = 0) or (i mod 11 = 0) or (i mod 13 = 0) then i.Print;
Println; Println;
for var i := 10 to 99 do
if (i mod 10 + i div 10).IsEven then i.Print
end.