101780: [AtCoder]ABC178 A - Not

Memory Limit:256 MB Time Limit:2 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

Score : $100$ points

Problem Statement

Given is an integer $x$ that is greater than or equal to $0$, and less than or equal to $1$. Output $1$ if $x$ is equal to $0$, or $0$ if $x$ is equal to $1$.

Constraints

  • $0 \leq x \leq 1$
  • $x$ is an integer

Input

Input is given from Standard Input in the following format:

$x$

Output

Print $1$ if $x$ is equal to $0$, or $0$ if $x$ is equal to $1$.


Sample Input 1

1

Sample Output 1

0

Sample Input 2

0

Sample Output 2

1

Input

题意翻译

## 题目描述 输入一个整数$x$。如$x$为$0$,输出$1$; 否则输出$0$。 ### 输入格式 输入一个整数,为$1$或$0$。 ### 输出格式 输出一个整数$x$,为$1$或$0$。 ### 输入输出样例 输入 #1: 1 输出 #1: 0 输入 #2: 0 输出 #2: 1 ### 数据范围 $0≤ x ≤ 1$ $x$为整数

加入题单

算法标签: