import java.util.*;

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

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