import java.util.*;

/**
 * A Main
 *
 * @date 2020.09.19
 * @author 焼き鮭 <yaki-shake@up-tri.me>
 */

public class Main {
  Scanner sc;

  public static void main(String[] args) {
    new Main().execute();
  }

  public void execute() {
    this.sc = new Scanner(System.in);
    int x = this.sc.nextInt();
    System.out.println(x == 1 ? 0 : 1);
  }
} import java.util.*; util.* java public class Main {
  Scanner sc;

  public static void main(String[] args) {
    new Main().execute();
  }

  public void execute() {
    this.sc = new Scanner(System.in);
    int x = this.sc.nextInt();
    System.out.println(x == 1 ? 0 : 1);
  }
} Main Scanner sc; sc public static void main(String[] args) {
    new Main().execute();
  } main {
    new Main().execute();
  } new Main().execute() new Main().execute new Main() String[] args args public void execute() {
    this.sc = new Scanner(System.in);
    int x = this.sc.nextInt();
    System.out.println(x == 1 ? 0 : 1);
  } execute {
    this.sc = new Scanner(System.in);
    int x = this.sc.nextInt();
    System.out.println(x == 1 ? 0 : 1);
  } this.sc = new Scanner(System.in) this.sc this this.sc new Scanner(System.in) int x = this.sc.nextInt(); x this.sc.nextInt() this.sc.nextInt this.sc this this.sc System.out.println(x == 1 ? 0 : 1) System.out.println System.out System System.out x == 1 ? 0 : 1 x == 1 x 1 0 1 public class Main {
  Scanner sc;

  public static void main(String[] args) {
    new Main().execute();
  }

  public void execute() {
    this.sc = new Scanner(System.in);
    int x = this.sc.nextInt();
    System.out.println(x == 1 ? 0 : 1);
  }
} public class Main {
  Scanner sc;

  public static void main(String[] args) {
    new Main().execute();
  }

  public void execute() {
    this.sc = new Scanner(System.in);
    int x = this.sc.nextInt();
    System.out.println(x == 1 ? 0 : 1);
  }
} Main
import java.util.*;

/**
 * A Main
 *
 * @date 2020.09.19
 * @author 焼き鮭 <yaki-shake@up-tri.me>
 */

public class Main {
  Scanner sc;

  public static void main(String[] args) {
    new Main().execute();
  }

  public void execute() {
    this.sc = new Scanner(System.in);
    int x = this.sc.nextInt();
    System.out.println(x == 1 ? 0 : 1);
  }
}
