using System; class Program { static void Main() { int S = int.Parse(Console.ReadLine()); if (S >= 100 && S <= 599) { Console.WriteLine("Yes"); } else { Console.WriteLine("No"); } } }