
import java.io.InputStream;
import java.io.PrintStream;
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        solve(System.in, System.out);
    }

    static void solve(InputStream is, PrintStream os) {
        // Your code here!
        Scanner scan = new Scanner(is);
        int x = scan.nextInt();

        if(x == 0)
            os.println(1);
        else
            os.println(0);

    }
} import java.io.InputStream; InputStream java.io import java.io.PrintStream; PrintStream java.io import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        solve(System.in, System.out);
    }

    static void solve(InputStream is, PrintStream os) {
        // Your code here!
        Scanner scan = new Scanner(is);
        int x = scan.nextInt();

        if(x == 0)
            os.println(1);
        else
            os.println(0);

    }
} Main public static void main(String[] args) throws Exception {
        solve(System.in, System.out);
    } main {
        solve(System.in, System.out);
    } solve(System.in, System.out) solve System.in System System.in System.out System System.out String[] args args static void solve(InputStream is, PrintStream os) {
        // Your code here!
        Scanner scan = new Scanner(is);
        int x = scan.nextInt();

        if(x == 0)
            os.println(1);
        else
            os.println(0);

    } solve {
        // Your code here!
        Scanner scan = new Scanner(is);
        int x = scan.nextInt();

        if(x == 0)
            os.println(1);
        else
            os.println(0);

    } Scanner scan = new Scanner(is); scan new Scanner(is) int x = scan.nextInt(); x scan.nextInt() scan.nextInt scan if(x == 0)
            os.println(1);
        else
            os.println(0); x == 0 x 0 os.println(1) os.println os 1 os.println(0) os.println os 0 InputStream is is PrintStream os os public class Main {
    public static void main(String[] args) throws Exception {
        solve(System.in, System.out);
    }

    static void solve(InputStream is, PrintStream os) {
        // Your code here!
        Scanner scan = new Scanner(is);
        int x = scan.nextInt();

        if(x == 0)
            os.println(1);
        else
            os.println(0);

    }
} public class Main {
    public static void main(String[] args) throws Exception {
        solve(System.in, System.out);
    }

    static void solve(InputStream is, PrintStream os) {
        // Your code here!
        Scanner scan = new Scanner(is);
        int x = scan.nextInt();

        if(x == 0)
            os.println(1);
        else
            os.println(0);

    }
} Main

import java.io.InputStream;
import java.io.PrintStream;
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        solve(System.in, System.out);
    }

    static void solve(InputStream is, PrintStream os) {
        // Your code here!
        Scanner scan = new Scanner(is);
        int x = scan.nextInt();

        if(x == 0)
            os.println(1);
        else
            os.println(0);

    }
}