program example(input,output);
  var
    inval: integer;
    result: integer;
  function increment(val: integer): integer;
  begin
    increment := val + 1;
  end;
  function decrement(val: integer; delta: integer): integer;
  begin
    decrement := val - delta;
  end;
begin
  readln(inval);
  result := increment(inval);
  result := decrement(result,10);
  writeln(inval);
  writeln(result);
end.
