#include <stdio.h>

int main() {
   // int num;
    
    //scanf("%d",&num);
    //if(num%4==0 || num%6==0){
        //printf("%d is divisible by both 4 and 6\n",num);
   // }else{
        //printf("%d is not divisible by both 4 and 6\n",num);
    //}
    int n;
    scanf("%d",&n);
    int arr[n];
    for( int i=0;i<n;i++){
        scanf("%d",&arr[i]);
    }
    long long product=1;
    for( int i=0;i<n;i++){
        produc*=arr[i];
    }
    printf("product of elements:%lld\n"nproduct);
    return 0;
    
}