import java.util.Scanner;

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

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