import scala.io.StdIn.readLine import scala.collection.immutable.StringLike object Main { def main(args: Array[String]){ println(readLine().toInt - 1) } }