import java.io.*;
import java.util.*;

/**
 * Created by Ayushi on 13 Sep 2020.
 * Problem:
 * Round:
 */

public class Main {
    public static void main(String[] args) throws IOException {
        StringTokenizer st;
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int t = Integer.parseInt(br.readLine());

        if (t == 0) System.out.println(1);
        else System.out.println(0);
        br.close();
    }
} import java.io.*; io.* java import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws IOException {
        StringTokenizer st;
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int t = Integer.parseInt(br.readLine());

        if (t == 0) System.out.println(1);
        else System.out.println(0);
        br.close();
    }
} Main public static void main(String[] args) throws IOException {
        StringTokenizer st;
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int t = Integer.parseInt(br.readLine());

        if (t == 0) System.out.println(1);
        else System.out.println(0);
        br.close();
    } main {
        StringTokenizer st;
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int t = Integer.parseInt(br.readLine());

        if (t == 0) System.out.println(1);
        else System.out.println(0);
        br.close();
    } StringTokenizer st; st BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int t = Integer.parseInt(br.readLine()); t Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br if (t == 0) System.out.println(1);
        else System.out.println(0); t == 0 t 0 System.out.println(1) System.out.println System.out System System.out 1 System.out.println(0) System.out.println System.out System System.out 0 br.close() br.close br String[] args args public class Main {
    public static void main(String[] args) throws IOException {
        StringTokenizer st;
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int t = Integer.parseInt(br.readLine());

        if (t == 0) System.out.println(1);
        else System.out.println(0);
        br.close();
    }
} public class Main {
    public static void main(String[] args) throws IOException {
        StringTokenizer st;
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int t = Integer.parseInt(br.readLine());

        if (t == 0) System.out.println(1);
        else System.out.println(0);
        br.close();
    }
} Main
import java.io.*;
import java.util.*;

/**
 * Created by Ayushi on 13 Sep 2020.
 * Problem:
 * Round:
 */

public class Main {
    public static void main(String[] args) throws IOException {
        StringTokenizer st;
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int t = Integer.parseInt(br.readLine());

        if (t == 0) System.out.println(1);
        else System.out.println(0);
        br.close();
    }
}
