import java.util.Scanner;

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

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