#include <iostream>
using namespace std;
int main() {
    int n;
    cin>>n;
    int arr[30];
    bool palindrome=true;
    for(int i=0; i<n; i++){
        cin>>arr[i];
    }
    for(int i=0; i<n/2; i++){
        if(arr[i]=!arr[n-1-i]){
            palindrome=false;
            break;
        }
    }
    if(palindrome==true){
        cout<<"Symmetric";
    }else{
        cout<<"Not symmetric";
    }
    return 0;
}
whats wrong with above code? its showing not symmetric in every input.
 
     
    