program main( input, output ); var x, y: integer; begin read(x); y := (x + 1) * (x - 1); write(y) end.