using System.Collections.Generic;
using System.Threading.Tasks;
using System.Diagnostics;
public static void Main()
List<string> gameNames = new List<string>(){
Dictionary<string, int> gameLookup = new Dictionary<string, int>()
{"Empty Game Title 1", 99},
{"Empty Game Title 2", 98},
{"Final Fantasy VI", 95},
{"Empty Game Title 3", 92},
{"Donkey Kong Country", 90}
Dictionary<string, int> gameScore = new Dictionary<string, int>();
foreach(string game in gameNames)
if(gameScore.ContainsKey(game))
if(gameLookup.Keys.Contains(game))
gameScore.Add(game, gameLookup.FirstOrDefault(x=> x.Key == game).Value);
if(gameLookup.FirstOrDefault(x=> x.Key == "Empty Game Title " + n.ToString()).Value == null)
gameScore.Add(game, gameLookup.FirstOrDefault(x=> x.Key == "Empty Game Title " + n.ToString()).Value);
foreach(var t in gameScore)