package yukicoder import java.util.Scanner object q244 { def main(args: Array[String]) { val sc = new Scanner(System.in) val N = sc.nextInt() println(N - 1) } }