using System;
public class Program
{
public static void Main()
Random rnd = new Random();
int kakkonen = 0;
int loopCount = 0;
while (kakkonen != 2)
kakkonen = rnd.Next(10000);
loopCount++;
}
Console.WriteLine(loopCount);