import java.util.*;

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

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

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

		System.out.println((x == 1) ? 0 : 1);
	} main {
		
		Scanner ob = new Scanner(System.in);
		int x = ob.nextInt();

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

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

		System.out.println((x == 1) ? 0 : 1);
	}
} Main
import java.util.*;

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

		System.out.println((x == 1) ? 0 : 1);
	}
}