import java.util.*;
public class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int anc = 1;
        if(N == 1){anc = 0;}

        
        System.out.println(anc);
    }
} import java.util.*; util.* java public class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int anc = 1;
        if(N == 1){anc = 0;}

        
        System.out.println(anc);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int anc = 1;
        if(N == 1){anc = 0;}

        
        System.out.println(anc);
    } main {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int anc = 1;
        if(N == 1){anc = 0;}

        
        System.out.println(anc);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int anc = 1; anc 1 if(N == 1){anc = 0;} N == 1 N 1 {anc = 0;} anc = 0 anc 0 System.out.println(anc) System.out.println System.out System System.out anc String[] args args public class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int anc = 1;
        if(N == 1){anc = 0;}

        
        System.out.println(anc);
    }
} public class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int anc = 1;
        if(N == 1){anc = 0;}

        
        System.out.println(anc);
    }
} Main
import java.util.*;
public class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int anc = 1;
        if(N == 1){anc = 0;}

        
        System.out.println(anc);
    }
}