import std/strutils proc ri(): int = stdin.readLine.parseInt let n = ri() echo n-1