using System.Numerics; public class Program { public static void Main() { //int num = int.Parse(Console.ReadLine() ?? string.Empty); string[] str = (Console.ReadLine() ?? string.Empty).Trim().Split(' '); //string str = Console.ReadLine() ?? string.Empty; int l = int.Parse(str[0]); int r = int.Parse(str[1]); if(l <=295) { if(r >= 296) { if(r >=417) { Console.WriteLine(2); return; } Console.WriteLine(1); return; } Console.WriteLine(0); } else if(l <= 416) { if (r >= 417) { Console.WriteLine(1); return; } Console.WriteLine(0); return; } else { Console.WriteLine(0); } } }