import java.util.Scanner;
class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int x = 0;
    int N = sc.nextInt();
    if(N==0) x = 1;
    System.out.print(x);
  }
  
} import java.util.Scanner; Scanner java.util class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int x = 0;
    int N = sc.nextInt();
    if(N==0) x = 1;
    System.out.print(x);
  }
  
} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int x = 0;
    int N = sc.nextInt();
    if(N==0) x = 1;
    System.out.print(x);
  } main {
    Scanner sc = new Scanner(System.in);
    int x = 0;
    int N = sc.nextInt();
    if(N==0) x = 1;
    System.out.print(x);
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int x = 0; x 0 int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc if(N==0) x = 1; N==0 N 0 x = 1 x 1 System.out.print(x) System.out.print System.out System System.out x String[] args args
import java.util.Scanner;
class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int x = 0;
    int N = sc.nextInt();
    if(N==0) x = 1;
    System.out.print(x);
  }
  
}