import java.util.Scanner;
public class Example1
{
public static void main(String args[])
{
long f1=1,f2=1;
int counter=0;
do{
System.out.printf("%10d%10d",f1,f2);
counter+=2;
System.out.print(counter%6==0?"\n":"");
f1=f1+f2;
f2=f1+f2;
}while(counter<36);
System.out.printf("%ncounter=%d,f1=%d,f2=%d",counter,f1,f2);
}
}