import java.util.*;
import java.io.*;
import java.math.*;

public class Main{



  public static OutputStream out=new BufferedOutputStream(System.out);
  static Scanner sc=new Scanner(System.in);
  static long mod=1000000007l;
  static int INF=10000000;
  static int[] rr=new int[]{1, 0, -1, 0};                                 //rook row move
  static int[] rc=new int[]{0, 1, 0, -1};                                 //rook col move

  //nl-->neew line; //l-->line;  //arp-->array print;  //arpnl-->array print new line
  public static void nl(Object o) throws IOException{out.write((o+"\n").getBytes()); }
  public static void l(Object o) throws IOException{out.write((o+"").getBytes());}
  public static void arp(int[] o) throws IOException{for(int i=0;i<o.length;i++) out.write((o[i]+" ").getBytes()); out.write(("\n").getBytes());}
  public static void arpnl(int[] o) throws IOException{for(int i=0;i<o.length;i++) out.write((o[i]+"\n").getBytes());}
  public static void scanl(long[] a,int n) {for(int i=0;i<n;i++) a[i]=sc.nextLong();}
  public static void scani(int[] a,int n) {for(int i=0;i<n;i++) a[i]=sc.nextInt();}
  public static void scan2D(int[][] a,int n,int m) {for(int i=0;i<n;i++) for(int j=0;j<m;j++) a[i][j]=sc.nextInt();}
  //static variables

  //


  public static void main(String[] args) throws IOException{
    long sttm=System.currentTimeMillis();
    long mod=100000l;

    int t=sc.nextInt();
    nl(1-t);

    out.flush();
  }

}

class Pair{
  int x; int y;
  Pair(int x,int y){
    this.x=x;
    this.y=y;
  }
} import java.util.*; util.* java import java.io.*; io.* java import java.math.*; math.* java public class Main{



  public static OutputStream out=new BufferedOutputStream(System.out);
  static Scanner sc=new Scanner(System.in);
  static long mod=1000000007l;
  static int INF=10000000;
  static int[] rr=new int[]{1, 0, -1, 0};                                 //rook row move
  static int[] rc=new int[]{0, 1, 0, -1};                                 //rook col move

  //nl-->neew line; //l-->line;  //arp-->array print;  //arpnl-->array print new line
  public static void nl(Object o) throws IOException{out.write((o+"\n").getBytes()); }
  public static void l(Object o) throws IOException{out.write((o+"").getBytes());}
  public static void arp(int[] o) throws IOException{for(int i=0;i<o.length;i++) out.write((o[i]+" ").getBytes()); out.write(("\n").getBytes());}
  public static void arpnl(int[] o) throws IOException{for(int i=0;i<o.length;i++) out.write((o[i]+"\n").getBytes());}
  public static void scanl(long[] a,int n) {for(int i=0;i<n;i++) a[i]=sc.nextLong();}
  public static void scani(int[] a,int n) {for(int i=0;i<n;i++) a[i]=sc.nextInt();}
  public static void scan2D(int[][] a,int n,int m) {for(int i=0;i<n;i++) for(int j=0;j<m;j++) a[i][j]=sc.nextInt();}
  //static variables

  //


  public static void main(String[] args) throws IOException{
    long sttm=System.currentTimeMillis();
    long mod=100000l;

    int t=sc.nextInt();
    nl(1-t);

    out.flush();
  }

} Main public static OutputStream out=new BufferedOutputStream(System.out); out new BufferedOutputStream(System.out) static Scanner sc=new Scanner(System.in); sc new Scanner(System.in) static long mod=1000000007l; mod 1000000007l static int INF=10000000; INF 10000000 static int[] rr=new int[]{1, 0, -1, 0};                                 //rook row move rr new int[]{1, 0, -1, 0} static int[] rc=new int[]{0, 1, 0, -1};                                 //rook col move rc new int[]{0, 1, 0, -1} //nl-->neew line; //l-->line;  //arp-->array print;  //arpnl-->array print new line
  public static void nl(Object o) throws IOException{out.write((o+"\n").getBytes()); } nl {out.write((o+"\n").getBytes()); } out.write((o+"\n").getBytes()) out.write out (o+"\n").getBytes() (o+"\n").getBytes (o+"\n") o "\n" Object o o public static void l(Object o) throws IOException{out.write((o+"").getBytes());} l {out.write((o+"").getBytes());} out.write((o+"").getBytes()) out.write out (o+"").getBytes() (o+"").getBytes (o+"") o "" Object o o public static void arp(int[] o) throws IOException{for(int i=0;i<o.length;i++) out.write((o[i]+" ").getBytes()); out.write(("\n").getBytes());} arp {for(int i=0;i<o.length;i++) out.write((o[i]+" ").getBytes()); out.write(("\n").getBytes());} for(int i=0;i<o.length;i++) out.write((o[i]+" ").getBytes()); int i=0; int i=0; i 0 i<o.length i o.length o o.length i++ i++ i out.write((o[i]+" ").getBytes()); out.write((o[i]+" ").getBytes()) out.write out (o[i]+" ").getBytes() (o[i]+" ").getBytes (o[i]+" ") o[i] o i " " out.write(("\n").getBytes()) out.write out ("\n").getBytes() ("\n").getBytes ("\n") int[] o o public static void arpnl(int[] o) throws IOException{for(int i=0;i<o.length;i++) out.write((o[i]+"\n").getBytes());} arpnl {for(int i=0;i<o.length;i++) out.write((o[i]+"\n").getBytes());} for(int i=0;i<o.length;i++) out.write((o[i]+"\n").getBytes()); int i=0; int i=0; i 0 i<o.length i o.length o o.length i++ i++ i out.write((o[i]+"\n").getBytes()); out.write((o[i]+"\n").getBytes()) out.write out (o[i]+"\n").getBytes() (o[i]+"\n").getBytes (o[i]+"\n") o[i] o i "\n" int[] o o public static void scanl(long[] a,int n) {for(int i=0;i<n;i++) a[i]=sc.nextLong();} scanl {for(int i=0;i<n;i++) a[i]=sc.nextLong();} for(int i=0;i<n;i++) a[i]=sc.nextLong(); int i=0; int i=0; i 0 i<n i n i++ i++ i a[i]=sc.nextLong(); a[i]=sc.nextLong() a[i] a i sc.nextLong() sc.nextLong sc long[] a a int n n public static void scani(int[] a,int n) {for(int i=0;i<n;i++) a[i]=sc.nextInt();} scani {for(int i=0;i<n;i++) a[i]=sc.nextInt();} for(int i=0;i<n;i++) a[i]=sc.nextInt(); int i=0; int i=0; i 0 i<n i n i++ i++ i a[i]=sc.nextInt(); a[i]=sc.nextInt() a[i] a i sc.nextInt() sc.nextInt sc int[] a a int n n public static void scan2D(int[][] a,int n,int m) {for(int i=0;i<n;i++) for(int j=0;j<m;j++) a[i][j]=sc.nextInt();} scan2D {for(int i=0;i<n;i++) for(int j=0;j<m;j++) a[i][j]=sc.nextInt();} for(int i=0;i<n;i++) for(int j=0;j<m;j++) a[i][j]=sc.nextInt(); int i=0; int i=0; i 0 i<n i n i++ i++ i for(int j=0;j<m;j++) a[i][j]=sc.nextInt(); for(int j=0;j<m;j++) a[i][j]=sc.nextInt(); int j=0; int j=0; j 0 j<m j m j++ j++ j a[i][j]=sc.nextInt(); a[i][j]=sc.nextInt() a[i][j] a[i] a i j sc.nextInt() sc.nextInt sc int[][] a a int n n int m m public static void main(String[] args) throws IOException{
    long sttm=System.currentTimeMillis();
    long mod=100000l;

    int t=sc.nextInt();
    nl(1-t);

    out.flush();
  } main {
    long sttm=System.currentTimeMillis();
    long mod=100000l;

    int t=sc.nextInt();
    nl(1-t);

    out.flush();
  } long sttm=System.currentTimeMillis(); sttm System.currentTimeMillis() System.currentTimeMillis System long mod=100000l; mod 100000l int t=sc.nextInt(); t sc.nextInt() sc.nextInt sc nl(1-t) nl 1-t 1 t out.flush() out.flush out String[] args args class Pair{
  int x; int y;
  Pair(int x,int y){
    this.x=x;
    this.y=y;
  }
} Pair int x; x int y; y Pair(int x,int y){
    this.x=x;
    this.y=y;
  } Pair {
    this.x=x;
    this.y=y;
  } this.x=x this.x this this.x x this.y=y this.y this this.y y int x x int y y public class Main{



  public static OutputStream out=new BufferedOutputStream(System.out);
  static Scanner sc=new Scanner(System.in);
  static long mod=1000000007l;
  static int INF=10000000;
  static int[] rr=new int[]{1, 0, -1, 0};                                 //rook row move
  static int[] rc=new int[]{0, 1, 0, -1};                                 //rook col move

  //nl-->neew line; //l-->line;  //arp-->array print;  //arpnl-->array print new line
  public static void nl(Object o) throws IOException{out.write((o+"\n").getBytes()); }
  public static void l(Object o) throws IOException{out.write((o+"").getBytes());}
  public static void arp(int[] o) throws IOException{for(int i=0;i<o.length;i++) out.write((o[i]+" ").getBytes()); out.write(("\n").getBytes());}
  public static void arpnl(int[] o) throws IOException{for(int i=0;i<o.length;i++) out.write((o[i]+"\n").getBytes());}
  public static void scanl(long[] a,int n) {for(int i=0;i<n;i++) a[i]=sc.nextLong();}
  public static void scani(int[] a,int n) {for(int i=0;i<n;i++) a[i]=sc.nextInt();}
  public static void scan2D(int[][] a,int n,int m) {for(int i=0;i<n;i++) for(int j=0;j<m;j++) a[i][j]=sc.nextInt();}
  //static variables

  //


  public static void main(String[] args) throws IOException{
    long sttm=System.currentTimeMillis();
    long mod=100000l;

    int t=sc.nextInt();
    nl(1-t);

    out.flush();
  }

} public class Main{



  public static OutputStream out=new BufferedOutputStream(System.out);
  static Scanner sc=new Scanner(System.in);
  static long mod=1000000007l;
  static int INF=10000000;
  static int[] rr=new int[]{1, 0, -1, 0};                                 //rook row move
  static int[] rc=new int[]{0, 1, 0, -1};                                 //rook col move

  //nl-->neew line; //l-->line;  //arp-->array print;  //arpnl-->array print new line
  public static void nl(Object o) throws IOException{out.write((o+"\n").getBytes()); }
  public static void l(Object o) throws IOException{out.write((o+"").getBytes());}
  public static void arp(int[] o) throws IOException{for(int i=0;i<o.length;i++) out.write((o[i]+" ").getBytes()); out.write(("\n").getBytes());}
  public static void arpnl(int[] o) throws IOException{for(int i=0;i<o.length;i++) out.write((o[i]+"\n").getBytes());}
  public static void scanl(long[] a,int n) {for(int i=0;i<n;i++) a[i]=sc.nextLong();}
  public static void scani(int[] a,int n) {for(int i=0;i<n;i++) a[i]=sc.nextInt();}
  public static void scan2D(int[][] a,int n,int m) {for(int i=0;i<n;i++) for(int j=0;j<m;j++) a[i][j]=sc.nextInt();}
  //static variables

  //


  public static void main(String[] args) throws IOException{
    long sttm=System.currentTimeMillis();
    long mod=100000l;

    int t=sc.nextInt();
    nl(1-t);

    out.flush();
  }

} Main
import java.util.*;
import java.io.*;
import java.math.*;

public class Main{



  public static OutputStream out=new BufferedOutputStream(System.out);
  static Scanner sc=new Scanner(System.in);
  static long mod=1000000007l;
  static int INF=10000000;
  static int[] rr=new int[]{1, 0, -1, 0};                                 //rook row move
  static int[] rc=new int[]{0, 1, 0, -1};                                 //rook col move

  //nl-->neew line; //l-->line;  //arp-->array print;  //arpnl-->array print new line
  public static void nl(Object o) throws IOException{out.write((o+"\n").getBytes()); }
  public static void l(Object o) throws IOException{out.write((o+"").getBytes());}
  public static void arp(int[] o) throws IOException{for(int i=0;i<o.length;i++) out.write((o[i]+" ").getBytes()); out.write(("\n").getBytes());}
  public static void arpnl(int[] o) throws IOException{for(int i=0;i<o.length;i++) out.write((o[i]+"\n").getBytes());}
  public static void scanl(long[] a,int n) {for(int i=0;i<n;i++) a[i]=sc.nextLong();}
  public static void scani(int[] a,int n) {for(int i=0;i<n;i++) a[i]=sc.nextInt();}
  public static void scan2D(int[][] a,int n,int m) {for(int i=0;i<n;i++) for(int j=0;j<m;j++) a[i][j]=sc.nextInt();}
  //static variables

  //


  public static void main(String[] args) throws IOException{
    long sttm=System.currentTimeMillis();
    long mod=100000l;

    int t=sc.nextInt();
    nl(1-t);

    out.flush();
  }

}

class Pair{
  int x; int y;
  Pair(int x,int y){
    this.x=x;
    this.y=y;
  }
}
