import java.util.*;


public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        String line = sc.nextLine();
        int ret = Integer.parseInt(line);
        ret = ret == 0 ? 1 : 0;
        
        System.out.println(ret);
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        String line = sc.nextLine();
        int ret = Integer.parseInt(line);
        ret = ret == 0 ? 1 : 0;
        
        System.out.println(ret);
    }
} Main public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        String line = sc.nextLine();
        int ret = Integer.parseInt(line);
        ret = ret == 0 ? 1 : 0;
        
        System.out.println(ret);
    } main {

        Scanner sc = new Scanner(System.in);
        String line = sc.nextLine();
        int ret = Integer.parseInt(line);
        ret = ret == 0 ? 1 : 0;
        
        System.out.println(ret);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String line = sc.nextLine(); line sc.nextLine() sc.nextLine sc int ret = Integer.parseInt(line); ret Integer.parseInt(line) Integer.parseInt Integer line ret = ret == 0 ? 1 : 0 ret ret == 0 ? 1 : 0 ret == 0 ret 0 1 0 System.out.println(ret) System.out.println System.out System System.out ret String[] args args public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        String line = sc.nextLine();
        int ret = Integer.parseInt(line);
        ret = ret == 0 ? 1 : 0;
        
        System.out.println(ret);
    }
} public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        String line = sc.nextLine();
        int ret = Integer.parseInt(line);
        ret = ret == 0 ? 1 : 0;
        
        System.out.println(ret);
    }
} Main
import java.util.*;


public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        String line = sc.nextLine();
        int ret = Integer.parseInt(line);
        ret = ret == 0 ? 1 : 0;
        
        System.out.println(ret);
    }
}