package yukicoder; import java.util.Scanner; public class Yuki272 { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int num = scan.nextInt(); System.out.println((num == 0)? 1:0 ); } }