function Main(input) {
    input = input.trim().split("\n").map(function(x) { return x.split(" ")});
    let x = parseInt(input[0][0], 10);
    console.log(1 - x);
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));
