import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        try (Scanner scanner = new Scanner(System.in);) {
            int x = scanner.nextInt();
            int ans = 0;
            if (x == 0) {
                ans = 1;
            }
            System.out.println(ans);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        try (Scanner scanner = new Scanner(System.in);) {
            int x = scanner.nextInt();
            int ans = 0;
            if (x == 0) {
                ans = 1;
            }
            System.out.println(ans);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
} Main public static void main(String[] args) {
        try (Scanner scanner = new Scanner(System.in);) {
            int x = scanner.nextInt();
            int ans = 0;
            if (x == 0) {
                ans = 1;
            }
            System.out.println(ans);
        } catch (Exception e) {
            e.printStackTrace();
        }
    } main {
        try (Scanner scanner = new Scanner(System.in);) {
            int x = scanner.nextInt();
            int ans = 0;
            if (x == 0) {
                ans = 1;
            }
            System.out.println(ans);
        } catch (Exception e) {
            e.printStackTrace();
        }
    } try (Scanner scanner = new Scanner(System.in);) {
            int x = scanner.nextInt();
            int ans = 0;
            if (x == 0) {
                ans = 1;
            }
            System.out.println(ans);
        } catch (Exception e) {
            e.printStackTrace();
        } catch (Exception e) {
            e.printStackTrace();
        } Exception e {
            e.printStackTrace();
        } e.printStackTrace() e.printStackTrace e {
            int x = scanner.nextInt();
            int ans = 0;
            if (x == 0) {
                ans = 1;
            }
            System.out.println(ans);
        } Scanner scanner = new Scanner(System.in) Scanner scanner = new Scanner(System.in) new Scanner(System.in) int x = scanner.nextInt(); x scanner.nextInt() scanner.nextInt scanner 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) {
        try (Scanner scanner = new Scanner(System.in);) {
            int x = scanner.nextInt();
            int ans = 0;
            if (x == 0) {
                ans = 1;
            }
            System.out.println(ans);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
} public class Main {
    public static void main(String[] args) {
        try (Scanner scanner = new Scanner(System.in);) {
            int x = scanner.nextInt();
            int ans = 0;
            if (x == 0) {
                ans = 1;
            }
            System.out.println(ans);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        try (Scanner scanner = new Scanner(System.in);) {
            int x = scanner.nextInt();
            int ans = 0;
            if (x == 0) {
                ans = 1;
            }
            System.out.println(ans);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}