" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
var N,x:integer;
begin
readln(N);
x:=1;
while (x<=N) do
begin
if(x mod 2=1) then
if(x mod 5=0) then write x;
x:=x+1;
end
end.