import java.util.*;

public class Main {

    public static void main(String[] args) {
        // write your code here
        Scanner scanner = new Scanner(System.in);
        System.out.println(scanner.nextInt() == 0 ? 1 : 0);
    }
} import java.util.*; util.* java public class Main {

    public static void main(String[] args) {
        // write your code here
        Scanner scanner = new Scanner(System.in);
        System.out.println(scanner.nextInt() == 0 ? 1 : 0);
    }
} Main public static void main(String[] args) {
        // write your code here
        Scanner scanner = new Scanner(System.in);
        System.out.println(scanner.nextInt() == 0 ? 1 : 0);
    } main {
        // write your code here
        Scanner scanner = new Scanner(System.in);
        System.out.println(scanner.nextInt() == 0 ? 1 : 0);
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) System.out.println(scanner.nextInt() == 0 ? 1 : 0) System.out.println System.out System System.out scanner.nextInt() == 0 ? 1 : 0 scanner.nextInt() == 0 scanner.nextInt() scanner.nextInt scanner 0 1 0 String[] args args public class Main {

    public static void main(String[] args) {
        // write your code here
        Scanner scanner = new Scanner(System.in);
        System.out.println(scanner.nextInt() == 0 ? 1 : 0);
    }
} public class Main {

    public static void main(String[] args) {
        // write your code here
        Scanner scanner = new Scanner(System.in);
        System.out.println(scanner.nextInt() == 0 ? 1 : 0);
    }
} Main
import java.util.*;

public class Main {

    public static void main(String[] args) {
        // write your code here
        Scanner scanner = new Scanner(System.in);
        System.out.println(scanner.nextInt() == 0 ? 1 : 0);
    }
}