import java.util.Scanner;
public class a {
public static void main(String[] args) {
/*
//find the biggest value in an array
double[] a = new double[5];
double max = a[0];
Scanner cin = new Scanner(System.in);
for (int i = 0; i <= 4; i++) {
double x = cin.nextInt();
a[i] = x;
}
for (int i = 0; i < a.length; i++) {
if (a[i] > max)
max = a[i];
}
System.out.println(max);
}
}
/*
//computer the average of the array values
int[] a = {1, 2, 3, 4, 5, 6};
int sum = 0;
int b = 0;
for (int i = 0; i < a.length; i++) {
sum += a[i];
}
b = sum / 6;
System.out.println(b);
/
/
//copy to another array
int []a={1,2,3,4,5};
int[]b=new int[4];
for(int i=0;i<a.length;i++)
{
b[i] =a[i];
System.out.println(b[i]);
}
/
/ //reverse the elements within an array
int []a={1,2,3,4,5,6,7};
for(int i=0;i<a.length/2;i++){
int temp=a[i];
a[i]=a[a.length-1-i];
a[a.length-1-i]=temp;
System.out.println(a[i]);
}
/
/ //matrix-matrix multiplication
int[][] a=new int[3][3];
int[][] b=new int[3][3];
int[][] c=new int[3][3];
for(int i=0;i<3;i++)
for(int k=0;k<3;k++)
{
a[i][k]+=2;
b[i][k]+=2;
}
for(int i=0;i<3;i++)
for(int j=0;j<3;j++)
for(int k=0;k<3;k++)
{
c[i][j]=a[i][k]*b[k][j];
}
for(int i=0;i<3;i++)
for(int j=0;j<3;j++)
{
System.out.println(c[i][j]);
}
*/
}
}