public static void Main()
Console.WriteLine("Enter number: 1. To find parking 2. To vacate parking 3. Exit the program");
int num = int.Parse(Console.ReadLine());
Console.WriteLine("Enter parking time when 00:00 is 24");
for (int x = 0; x < a.Length; x++)
a[x] = int.Parse(Console.ReadLine());
Console.WriteLine("Your parking space is at:" + x);
Console.WriteLine("The parking lot is full");
Console.WriteLine("Enter the space available in the parking lot");
int y = int.Parse(Console.ReadLine());
Console.WriteLine("Error");
Console.WriteLine("Enter the parking clearance time");
int time = int.Parse(Console.ReadLine());
int pay = (time - a[y]) * 15;