var
i, sum, n: integer;
begin
sum := 0;
readln(n);
i := 0;
while i < n do
if not odd(i) then
sum := sum + i;
inc(i);
end;
writeln('Сумма: ', sum);
repeat
until i > n;
end.
var
i, sum, n: integer;
begin
sum := 0;
readln(n);
i := 0;
while i < n do
begin
if not odd(i) then
sum := sum + i;
inc(i);
end;
writeln('Сумма: ', sum);
i := 0;
sum := 0;
repeat
if not odd(i) then
sum := sum + i;
inc(i);
until i > n;
writeln('Сумма: ', sum);
end.