import java.util.Scanner;
public class ab
{
public static void main(String [] args)
{
Scanner a = new Scanner(System.in);
int [][] arr2d = new int[4][3];
//input
System.out.println("Enter array values");
for(int i = 0;i<=3;i++)
{
for(int j=0;j<=2;j++)
{
arr2d[i][j]=a.nextInt();
}
}
//output
System.out.println("Output is");
for(int i=0;i<=3;i++)
{
for(int j=0;j<=2;j++)
{
System.out.print(arr2d[i][j]+" ");
}
System.out.println();
}
}
}
public class ab
{
public static void main(String [] args)
{
Scanner a = new Scanner(System.in);
int [][] arr2d = new int[4][3];
//input
System.out.println("Enter array values");
for(int i = 0;i<=3;i++)
{
for(int j=0;j<=2;j++)
{
arr2d[i][j]=a.nextInt();
}
}
//output
System.out.println("Output is");
for(int i=0;i<=3;i++)
{
for(int j=0;j<=2;j++)
{
System.out.print(arr2d[i][j]+" ");
}
System.out.println();
}
}
}