using System;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Enter the number: "

;
int a = Convert.ToInt32(Console.ReadLine());
if (a < 7)
{
Console.WriteLine("Yes"

;
}
if (a > 10)
{
Console.WriteLine("No"

;
}
if (a == 9)
{
Console.WriteLine("Error"

;
}
//Если число не попадает под условия
else
{
Console.WriteLine("Condition not found"

;
}
Console.ReadLine();
}
}
}