X = int(imput()) print (1-X)