public static void Main(string[] args)
int HowManySets = Convert.ToInt32(Console.ReadLine());
int[] Boxes = new int[HowManySets];
for (int i = 0; i < HowManySets; i++)
string SetData = (Console.ReadLine() + "/");
int IndexHalf = SetData.IndexOf(" ");
int IndexEnd = SetData.IndexOf("/");
int people = Convert.ToInt32(SetData.Substring(0, IndexHalf));
int cookies = Convert.ToInt32(SetData.Substring(IndexHalf + 1, IndexEnd - IndexHalf - 1));
int[] peopleArray = new int[people];
int[] HowManyCookies = new int[people];
for (int o = 0; o < people; o++)
peopleArray[o] = Convert.ToInt32(Console.ReadLine());
for (int x = 0; x < people; x++)
HowManyCookies[x] = (86400 / peopleArray[x]);
SumOfCookies += HowManyCookies[x];
Boxes[i] = Convert.ToInt32(Math.Ceiling(Convert.ToDouble(SumOfCookies) / Convert.ToDouble(cookies)));
for (int i = 0; i < HowManySets; i++)
Console.WriteLine(Boxes[i]);