public static string[] legalCities(CameraInfo[] cameras) {
string[] result = new string[cameras.Length];
for (int i = 0; i < cameras.Length; i++) {
bool foundIllegal = false;
CarInfo[] cars = cameras[i].GetCars();
for (int j = 0; j < cars.Length; j++) {
cars[j].CheckIllegal(cameras[i].GetMaxSpeed(), out isIllegal);
result[count] = cameras[i].GetCity();
string[] cities = new string[count];
for (int i = 0; i < count; i++) {