using System.Collections.Generic;
public static void Main()
var Students = new List<Student>();
while (!(Console.ReadLine() == "q"))
var cs = Console.ReadLine().Split(',');
Students.Add(new Student(int.Parse(cs[0]), int.Parse(cs[1]), int.Parse(cs[2]),
int.Parse(cs[3]), int.Parse(cs[4]), cs[5] == "y" ? true : false));
public static void Calculate(List<Student> Students)
Console.WriteLine("start");
var hours = new List<string> { "0-2 Hours", "2-4 Hours", "4-6 Hours", "6+ Hours" };
var gpas = new List<string> { "0.00 - 1.00 GPA", "1.01 - 2.00 GPA", "2.01 - 3.00 GPA", "3.01 - 4.00 GPA", "4.01+" };
for (int i = 0; i <= 3; i++) {
for (int j = 0; j <= 4; j++) {
Console.WriteLine($"{hours[i]}/{gpas[j]}: {Students.Count(s => s.cGPA == g && s.entire == h)}");
Console.WriteLine(Students.Count());
public Student(int Entire, int School, int CGPA, int OGPA, int Grade, bool Phones)
public int entire { get; set; }
public int school { get; set; }
public int cGPA { get; set; }
public int oGPA { get; set; }
public int grade { get; set; }
public bool phones { get; set; }