n = int(input())
print(n + 2 - n % 2)
Program zadaniynumber1_videlitichetnoechislo_homework;
uses crt;
var x,y:integer;
begin
readln(x);
y:=2+2*(x div 2);
writeln(y);
end.
Объяснение:
n = int(input())
print(n + 2 - n % 2)
Program zadaniynumber1_videlitichetnoechislo_homework;
uses crt;
var x,y:integer;
begin
readln(x);
y:=2+2*(x div 2);
writeln(y);
end.
Объяснение: