import std; void main() { int X; readf("%d\n", X); int res = X ^ 1; res.writeln; }