using System;
public class Program
{
public static void Main(String[] args)
for(int i=1;i<=3;i++)
for(int j=1;j<=3;j++)
Console.WriteLine(i+" "+j);
}