import java.util.*;

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

public class Main{
	public static void main(String[] agrs){
    	Scanner sc = new Scanner(System.in);
      	int a = sc.nextInt();
      	System.out.println(1-a);
    }
}