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.
var x:integer;
Begin
read(x);
if x>0 then x:=x+10
else x:=x-10;
writeln(x);
read(x);
if x>0 then x:=x+5;
writeln(x);
End.