import std.stdio, std.conv, std.string, std.range, std.math, std.bigint, std.algorithm; void main() { auto X = readln.strip.to!int; (X ^ 1).writeln; }