program ex; var n:longint; begin //main read(n); inc(n); n:=n*n-1; write(n); end.