class ff{
public static void main(String args[]){
int a[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
int b[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
for(int r=1;r<=a.length-1;r++)
{
for(int c=1;c<=b.length-1;c++)
{
System.out.print(a[r+1]*b[c+1] +"\t");
}
System.out.println();
}
}
}