var x:integer;
Begin
read(x);
if x>0 then x:=x+10
else x:=x-10;
writeln(x);
if x>0 then x:=x+5;
End.