package yukicoder; import java.util.Scanner; public class Yuki244 { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int num = scan.nextInt(); scan.close(); System.out.println(num -1); } }