public static void Main(string[] args)
var others = new List<string>() { "Adam", "Caroline", "Rebecca", "Frank" };
Console.WriteLine(License("Eric", 2, others));
public static int License(string me, int agents, List<string> others)
var meNumber = others.IndexOf(me);
if (agents <= others.Count)
(others.Count - agents) * 20;