using System; public class Hello { static void Main() { Console.WriteLine(int.Parse(Console.ReadLine().Trim()) - 1); } }