Given is an integer x that is greater than or equal to 0, and less than or equal to 1.…
- User
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.
Examples
Input
1
Output
0
Input
0
Output
1
Assistant
print(1 - int(input()))
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.