import strutils let X = stdin.readLine.parseInt echo [0, 1][int(X == 0)]