水題
import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner sr=new Scanner(System.in);
while(sr.hasNext()) {
int n = sr.nextInt();
int sum = 1;
for(int i = 0; i < n; i++){
int value = sr.nextInt();
if(!Judge(value)){
sum = sum * value;
}
}
System.out.println(sum);
}
}
public static boolean Judge(int value){
if(value % 2 == 0){
return true;
}else{
return false;
}
}
}