using System.Collections.Generic;
public static void Main()
Dictionary<int, int> dict = new Dictionary<int, int>();
Random rnd = new Random();
int num = rnd.Next(1,21);
int prize = rnd.Next(1,10001);
if (!dict.ContainsKey(num)){
prize = rnd.Next(1,10001);
string input = Console.ReadLine();
int inp = int.Parse(input);
if(!dict.ContainsKey(inp)){
Console.WriteLine("BANG! You die!");
foreach(KeyValuePair<int, int> pair in dict){
Console.WriteLine("You are unlucky! If you guessed {0}, you would have won the most money!", ind);
else foreach(KeyValuePair<int, int> pair in dict){
Console.WriteLine("You earned {0} dollars!", pair.Value);
for (int i = 1; i < 20 ; i++){
if(!dict.ContainsKey(i)) {
Console.WriteLine("You are lucky! You could have lost if you guessed the following numbers:");