import java.io.IOException;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) throws IOException {
        Scanner sc =new Scanner(System.in);
        int num = (1-sc.nextInt());
        System.out.println(num);
    }
} import java.io.IOException; IOException java.io import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) throws IOException {
        Scanner sc =new Scanner(System.in);
        int num = (1-sc.nextInt());
        System.out.println(num);
    }
} Main public static void main(String[] args) throws IOException {
        Scanner sc =new Scanner(System.in);
        int num = (1-sc.nextInt());
        System.out.println(num);
    } main {
        Scanner sc =new Scanner(System.in);
        int num = (1-sc.nextInt());
        System.out.println(num);
    } Scanner sc =new Scanner(System.in); sc new Scanner(System.in) int num = (1-sc.nextInt()); num (1-sc.nextInt()) 1 sc.nextInt() sc.nextInt sc System.out.println(num) System.out.println System.out System System.out num String[] args args public class Main {
    public static void main(String[] args) throws IOException {
        Scanner sc =new Scanner(System.in);
        int num = (1-sc.nextInt());
        System.out.println(num);
    }
} public class Main {
    public static void main(String[] args) throws IOException {
        Scanner sc =new Scanner(System.in);
        int num = (1-sc.nextInt());
        System.out.println(num);
    }
} Main
import java.io.IOException;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) throws IOException {
        Scanner sc =new Scanner(System.in);
        int num = (1-sc.nextInt());
        System.out.println(num);
    }
}