var x,y:integer;
begin
readln(x);
if x > 0 then
y := 2*x
else
y := x - 1;
writeln(y)
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
var x,y:integer;
begin
readln(x);
if x > 0 then
y := 2*x
else
y := x - 1;
writeln(y)
end.