import java.io.*;
import java.util.Scanner;
 
class Main {
  public static void main(String args[]) {
    Scanner scanner = new Scanner(System.in);
    int n = scanner.nextInt();
    System.out.println(1-n);
  }
} import java.io.*; io.* java import java.util.Scanner; Scanner java.util class Main {
  public static void main(String args[]) {
    Scanner scanner = new Scanner(System.in);
    int n = scanner.nextInt();
    System.out.println(1-n);
  }
} Main public static void main(String args[]) {
    Scanner scanner = new Scanner(System.in);
    int n = scanner.nextInt();
    System.out.println(1-n);
  } main {
    Scanner scanner = new Scanner(System.in);
    int n = scanner.nextInt();
    System.out.println(1-n);
  } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int n = scanner.nextInt(); n scanner.nextInt() scanner.nextInt scanner System.out.println(1-n) System.out.println System.out System System.out 1-n 1 n String args[] args
import java.io.*;
import java.util.Scanner;
 
class Main {
  public static void main(String args[]) {
    Scanner scanner = new Scanner(System.in);
    int n = scanner.nextInt();
    System.out.println(1-n);
  }
}