using System.Collections.Generic;
public static void Main(){
Dictionary<int, int> dict = new Dictionary<int, int>();
List<int> list = new List<int>();
Console.WriteLine("Please input two distinct integers: (in one line)");
string input = Console.ReadLine();
string[] tokens = input.Split();
foreach (string s in tokens) {
bool success = int.TryParse(s,out num);
Random rnd = new Random();
}while (dict.ContainsKey(a));
if(!dict.ContainsKey(i)){
money = dict[list[0]]+dict[list[1]];
Console.WriteLine("You earned {0} in total!!",money);
Console.WriteLine("Sorry!");
List<int> keywith0 = new List<int>();
Dictionary < int , int >. KeyCollection keys = dict.Keys;
foreach( int key in keys ){
if(dict[maxkey]<dict[key]){
if(dict[list[0]]+dict[list[1]]==0){
Console . WriteLine ( "You are unlucky! If you guessed {0}, you would have won the most money" ,maxkey);
Console.Write("You are so lucky! You could have 0 money if you have guessed ");
foreach(int value in keywith0){
Console.Write(" "+value);