public static void main(String[]args){
    	int[] numbers = new int [5];
    	Scanner scanner = new Scanner(System.in);
    	/*for (int i=0; i<5; i++)
    	{
    		System.out.println("Write numbers[" + i + " ] = ");
    		numbers[i] = scanner.nextInt();
    		System.out.println(verifyIfNumberIsPrime(numbers[i]));
    	
    	}
    	*/
    	
    	int[][] matrix = new int[2][2];
    	for (int i=0; i<2; i++)
    		for (int j=0; j<2; j++)
    		{
    			System.out.println("Write matrix [ " + i + "]["+ j + "] = ");
    			matrix[i][j]=scanner.nextInt();
    		}
    	for (int i=0; i<2; i++)
    		for (int j=0; j<2; j++)
    		{
    			if (j==1)
    			System.out.println(matrix[i][j]);
    			else 
    			System.out.print(matrix[i][j]);
    			
    		}
    	/*for (int i=0; i<2; i++)
    	    for (int j=0; j<2; j++)
    	    {
    	    	if (j>i)
    	    		if (j==1)
    	    	    System.out.println(matrix[i][j]);
    	    		else
    	    		System.out.print(matrix[i][j]);
    	    }
    	    */
    	
    	boolean symmetry=true;
    	for (int i=0; i<2; i++)
    		for (int j=0; j<2; j++)
    		{ 
    			if (matrix[i][j]!=matrix[j][i]) symmetry=false;
    		}
    	System.out.print("the matrix is symmetric - " + symmetry);
    	scanner.close();
	}