public static int Seven(int[] a)
int consecutiveZeros = 0;
for (int i = 0; i < a.Length; i++)
if (consecutiveZeros >= 7)
public static void Shift(int[] a, int k)
for (int i = 0; i < a.Length - k; i++)
for (int i = a.Length - k; i < a.Length; i++)
public static void Main(string[] args)
Console.WriteLine("Enter a number betweeen 1 to 4:");
k = int.Parse(Console.ReadLine());
for (int i = 0; i < a.Length; i++)