using System.Collections.Generic; using System; using System.Linq; using System.Drawing; namespace yukicoder { class Program { static void Main(string[] args) { var X = int.Parse(Console.ReadLine()); if(X == 1) { Console.WriteLine("0"); } else if(X == 0) { Console.WriteLine("1"); } } } }