import java.util.*;

class Main{
	public static void main(String args[]){
    	Scanner s=new Scanner(System.in);
      	int t=s.nextInt();
      	if(t==0){
        	System.out.println(1);
        }else{
        	System.out.println(0);
        }
    }
} import java.util.*; util.* java class Main{
	public static void main(String args[]){
    	Scanner s=new Scanner(System.in);
      	int t=s.nextInt();
      	if(t==0){
        	System.out.println(1);
        }else{
        	System.out.println(0);
        }
    }
} Main public static void main(String args[]){
    	Scanner s=new Scanner(System.in);
      	int t=s.nextInt();
      	if(t==0){
        	System.out.println(1);
        }else{
        	System.out.println(0);
        }
    } main {
    	Scanner s=new Scanner(System.in);
      	int t=s.nextInt();
      	if(t==0){
        	System.out.println(1);
        }else{
        	System.out.println(0);
        }
    } Scanner s=new Scanner(System.in); s new Scanner(System.in) int t=s.nextInt(); t s.nextInt() s.nextInt s if(t==0){
        	System.out.println(1);
        }else{
        	System.out.println(0);
        } t==0 t 0 {
        	System.out.println(1);
        } System.out.println(1) System.out.println System.out System System.out 1 {
        	System.out.println(0);
        } System.out.println(0) System.out.println System.out System System.out 0 String args[] args
import java.util.*;

class Main{
	public static void main(String args[]){
    	Scanner s=new Scanner(System.in);
      	int t=s.nextInt();
      	if(t==0){
        	System.out.println(1);
        }else{
        	System.out.println(0);
        }
    }
}