import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		try (Scanner sc = new Scanner(System.in)) {
		   int x = sc.nextInt();
			int ans = 0;
			if (x == 0) {
				ans = 1;
			}
           System.out.println(ans);

		} catch (Exception e) {
			// TODO: handle exception
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		try (Scanner sc = new Scanner(System.in)) {
		   int x = sc.nextInt();
			int ans = 0;
			if (x == 0) {
				ans = 1;
			}
           System.out.println(ans);

		} catch (Exception e) {
			// TODO: handle exception
		}
	}
} Main public static void main(String[] args) {
		// TODO Auto-generated method stub
		try (Scanner sc = new Scanner(System.in)) {
		   int x = sc.nextInt();
			int ans = 0;
			if (x == 0) {
				ans = 1;
			}
           System.out.println(ans);

		} catch (Exception e) {
			// TODO: handle exception
		}
	} main {
		// TODO Auto-generated method stub
		try (Scanner sc = new Scanner(System.in)) {
		   int x = sc.nextInt();
			int ans = 0;
			if (x == 0) {
				ans = 1;
			}
           System.out.println(ans);

		} catch (Exception e) {
			// TODO: handle exception
		}
	} try (Scanner sc = new Scanner(System.in)) {
		   int x = sc.nextInt();
			int ans = 0;
			if (x == 0) {
				ans = 1;
			}
           System.out.println(ans);

		} catch (Exception e) {
			// TODO: handle exception
		} catch (Exception e) {
			// TODO: handle exception
		} Exception e {
			// TODO: handle exception
		} {
		   int x = sc.nextInt();
			int ans = 0;
			if (x == 0) {
				ans = 1;
			}
           System.out.println(ans);

		} Scanner sc = new Scanner(System.in) Scanner sc = new Scanner(System.in) new Scanner(System.in) int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int ans = 0; ans 0 if (x == 0) {
				ans = 1;
			} x == 0 x 0 {
				ans = 1;
			} ans = 1 ans 1 System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		try (Scanner sc = new Scanner(System.in)) {
		   int x = sc.nextInt();
			int ans = 0;
			if (x == 0) {
				ans = 1;
			}
           System.out.println(ans);

		} catch (Exception e) {
			// TODO: handle exception
		}
	}
} public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		try (Scanner sc = new Scanner(System.in)) {
		   int x = sc.nextInt();
			int ans = 0;
			if (x == 0) {
				ans = 1;
			}
           System.out.println(ans);

		} catch (Exception e) {
			// TODO: handle exception
		}
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		try (Scanner sc = new Scanner(System.in)) {
		   int x = sc.nextInt();
			int ans = 0;
			if (x == 0) {
				ans = 1;
			}
           System.out.println(ans);

		} catch (Exception e) {
			// TODO: handle exception
		}
	}
}
