var num:integer;
begin
readln(num);
if num >-1 then
num := num + 1
else
num := num;
write(num) ;
end.
var num:integer;
begin
readln(num);
if num >-1 then
num := num + 1
else
num := num;
write(num) ;
end.