//VYUGA.cs using System;using System.Linq; using System.Collections.Generic; using System.Text.RegularExpressions; namespace VYUGA { public class Program { static double w; static void Main(string[] args) { Random rand = new Random(); int d=37; double s = rand.Next(5000000); double a = Math.Round(d*s/5000000)+1; Console.WriteLine(a); for (int i = 1; i < 255; i++) { w = rand.Next(3000000)+1; double v = Math.Round(w*d/1000000)+1; a=a+v; da: if (a>d) { a=a-d; goto da; } Console.WriteLine(a);} Console.ReadKey(); }}}