private static void Solve(IAdventDay adventDay, bool a) { DateTime start = DateTime.Now; string output = a ? adventDay.A() : adventDay.B(); TimeSpan time = DateTime.Now.Subtract(start); string title = $"{adventDay.Year} {adventDay.Day:00}" + (a ? 'A' : 'B'); Console.WriteLine($"{title} {output,-(80 - 24)}{time}"); }