static CodingChallengeOutput CalculateProcess(int workLoad, int[] workers) { //string showProcess = Console.ReadLine(); //bool showWorkersProcess = showProcess.ToUpper() == "Y"; var checkedCrew = workers.Where(x => x > 0).ToArray(); if (checkedCrew.Length < 1) { return(null); } else if (checkedCrew.Length < workers.Length) { Console.WriteLine($"Your crew is not completely good, only {checkedCrew.Length} workers can do job"); } Crew imageCrew = new Crew(checkedCrew); return(imageCrew.CalculateProcess(workLoad)); }