I wrote this code but every time I try to show the output to the user by a `System.out.print` statement something goes wrong.

The purpose of the code is to check if the array is "palindromic".

```
import java.util.Scanner;
public class u {
public static void main(String[] args) {
    int [] arr = {1,2,3,4,3,2,1};
    int counter1 = 0,counter2 = arr.length-1;
    int x = arr.length/2;
    while (counter1 < x ) {
        if (arr[counter1] == arr [counter2]){
            counter1++;
            counter2--;
        } else {System.out.println(":("); break;}

    } 
    System.out.println("Bingo!");
  }}

```