
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		String[] t = sc.nextLine().split(" ");
		long n = Long.parseLong(t[0]);
		long min = n == 0 ? 1 : 0;
		System.out.println(min);
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		String[] t = sc.nextLine().split(" ");
		long n = Long.parseLong(t[0]);
		long min = n == 0 ? 1 : 0;
		System.out.println(min);
	}
} Main public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		String[] t = sc.nextLine().split(" ");
		long n = Long.parseLong(t[0]);
		long min = n == 0 ? 1 : 0;
		System.out.println(min);
	} main {

		Scanner sc = new Scanner(System.in);

		String[] t = sc.nextLine().split(" ");
		long n = Long.parseLong(t[0]);
		long min = n == 0 ? 1 : 0;
		System.out.println(min);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String[] t = sc.nextLine().split(" "); t sc.nextLine().split(" ") sc.nextLine().split sc.nextLine() sc.nextLine sc " " long n = Long.parseLong(t[0]); n Long.parseLong(t[0]) Long.parseLong Long t[0] t 0 long min = n == 0 ? 1 : 0; min n == 0 ? 1 : 0 n == 0 n 0 1 0 System.out.println(min) System.out.println System.out System System.out min String[] args args public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		String[] t = sc.nextLine().split(" ");
		long n = Long.parseLong(t[0]);
		long min = n == 0 ? 1 : 0;
		System.out.println(min);
	}
} public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		String[] t = sc.nextLine().split(" ");
		long n = Long.parseLong(t[0]);
		long min = n == 0 ? 1 : 0;
		System.out.println(min);
	}
} Main

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		String[] t = sc.nextLine().split(" ");
		long n = Long.parseLong(t[0]);
		long min = n == 0 ? 1 : 0;
		System.out.println(min);
	}
}
