function Main(input){
if(parseInt(input) === 1){
  console.log(0)
}
else if (parseInt(input) === 0){
  console.log(1)
}
else {console.log(null)}
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));