import strutils let N = stdin.readLine.parseInt echo N - 1