import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        try (Scanner s = new Scanner(System.in)) {
            System.out.println(s.nextInt() == 0 ? 1 : 0);
        }
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        try (Scanner s = new Scanner(System.in)) {
            System.out.println(s.nextInt() == 0 ? 1 : 0);
        }
    }
} Main public static void main(String[] args) throws Exception {
        try (Scanner s = new Scanner(System.in)) {
            System.out.println(s.nextInt() == 0 ? 1 : 0);
        }
    } main {
        try (Scanner s = new Scanner(System.in)) {
            System.out.println(s.nextInt() == 0 ? 1 : 0);
        }
    } try (Scanner s = new Scanner(System.in)) {
            System.out.println(s.nextInt() == 0 ? 1 : 0);
        } {
            System.out.println(s.nextInt() == 0 ? 1 : 0);
        } Scanner s = new Scanner(System.in) Scanner s = new Scanner(System.in) new Scanner(System.in) System.out.println(s.nextInt() == 0 ? 1 : 0) System.out.println System.out System System.out s.nextInt() == 0 ? 1 : 0 s.nextInt() == 0 s.nextInt() s.nextInt s 0 1 0 String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        try (Scanner s = new Scanner(System.in)) {
            System.out.println(s.nextInt() == 0 ? 1 : 0);
        }
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        try (Scanner s = new Scanner(System.in)) {
            System.out.println(s.nextInt() == 0 ? 1 : 0);
        }
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        try (Scanner s = new Scanner(System.in)) {
            System.out.println(s.nextInt() == 0 ? 1 : 0);
        }
    }
}
