using System;
public class Program
{
public static void Main()
start:
Console.WriteLine(" Please enter the number of times you would u like to roll the dice. ");
string x = Console.ReadLine();
ulong rolls;
if(ulong.TryParse(x, out rolls))
{decimal count1 = 0 ;
Random r = new Random();
for(ulong i = 1; i<=rolls;i++)
decimal q = r.Next(1,7);
Console.Write(q + " ");
if(q==1)
count1++;
else if(rolls ==2)
{decimal count2 = 0;
Random e = new Random();
for(ulong d = 1; d<=rolls;d++)
{decimal s = r.Next(1,7);
Console.Write(r + " ");
}
decimal per1 = count1/rolls*100M;
Console.WriteLine("You have rolled a 1" + per1.ToString("##.##")+ "% of the time");
if(q==2)
count2++;
else if(rolls ==3)
{decimal count3 = 0;
Random w = new Random();
for(ulong a = 1; a<=rolls;a++)
{decimal v = r.Next(1,7);
if(q==3)
count3++;
else if(rolls ==4)
{decimal count4 = 0;
Random z = new Random();
for(ulong u = 1; u<=rolls;u++)
{decimal d = r.Next(1,7);
if(q==4)
count4++;
else
{Console.WriteLine(" Please enter an appropriate number");
goto start;