//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) % (d+1);
Console.WriteLine(a);}
Console.ReadKey(); }}}
Ly9WWVVHQS5jcwp1c2luZyBTeXN0ZW07dXNpbmcgU3lzdGVtLkxpbnE7CnVzaW5nIFN5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljOwp1c2luZyBTeXN0ZW0uVGV4dC5SZWd1bGFyRXhwcmVzc2lvbnM7Cm5hbWVzcGFjZSBWWVVHQQp7IHB1YmxpYyBjbGFzcyBQcm9ncmFtCiAgICB7IHN0YXRpYyBkb3VibGUgdzsgCglzdGF0aWMgdm9pZCBNYWluKHN0cmluZ1tdIGFyZ3MpIAogICAgICAgIHsgUmFuZG9tIHJhbmQgPSBuZXcgUmFuZG9tKCk7CmludCBkPTM3Owpkb3VibGUgcyA9IHJhbmQuTmV4dCg1MDAwMDAwKTsKZG91YmxlIGEgPSBNYXRoLlJvdW5kKGQqcy81MDAwMDAwKSsxOwpDb25zb2xlLldyaXRlTGluZShhKTsKCmZvciAoaW50IGkgPSAxOyBpIDwgMjU1OyBpKyspCnsgdyA9IHJhbmQuTmV4dCgzMDAwMDAwKSsxOwpkb3VibGUgdiA9IE1hdGguUm91bmQodypkLzEwMDAwMDApKzE7CmE9KGErdikgJSAoZCsxKTsKQ29uc29sZS5Xcml0ZUxpbmUoYSk7fQpDb25zb2xlLlJlYWRLZXkoKTsgfX19