using System; public class Program { public void Solve() { int N = int.Parse(Console.ReadLine()); Console.WriteLine(N - 1); } public static void Main(string[] args) { Program program = new Program(); program.Solve(); } }