using System;
public class Program
{
public static void Main()
Random random = new Random();
int x = random.Next(0, 11);
int z;
do {
Console.WriteLine(1-9);
string y = Console.ReadLine();
Int32.TryParse(y, out z);
}
while(z != x);
Console.WriteLine("Gratuluje zgadłeś!");