import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();

		String message = "0";
		if(x == 0) {
			message = "1";
		}

		System.out.println(message);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();

		String message = "0";
		if(x == 0) {
			message = "1";
		}

		System.out.println(message);
	}
} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();

		String message = "0";
		if(x == 0) {
			message = "1";
		}

		System.out.println(message);
	} main {
		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();

		String message = "0";
		if(x == 0) {
			message = "1";
		}

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

		String message = "0";
		if(x == 0) {
			message = "1";
		}

		System.out.println(message);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();

		String message = "0";
		if(x == 0) {
			message = "1";
		}

		System.out.println(message);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();

		String message = "0";
		if(x == 0) {
			message = "1";
		}

		System.out.println(message);
	}
}