using System.Collections.Generic;
public class FairRandom {
private int lastNumber = 3;
private Random rnd = new Random();
public FairRandom(int seed){rnd = new Random(seed);}
else if (lastNumber == 1) {
public static void Main()
FairRandom rnd = new FairRandom(1);
Console.WriteLine(rnd.Next());