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