using System;
class SmartRoller
{
static void Main(string[] args)
Console.WriteLine("Hello World!");
}
public static Random rnd = new Random();
static int Roll(int dice, int mod)
int currentTotal = 0;
for(int x = dice; x > 0; x--)
currentTotal += rnd.Next(1, 7);
currentTotal += mod;
//int diceRoll = dice * rnd.Next(1, 7);
return currentTotal;