using System;
public class Program
{
public static void Main()
int max = 4;
for(int i = 0;i<=max;i++)
Console.WriteLine(i%max);
}