program csdnciuo; uses crt; 'var a:array [1..100] of integer; i,p,n:integer; begin clrscr; readln(n); for i:=1 to n do readln(a); p:=1; for i:=1 to n do if a mod 2 =0 then p:=p*a; writeln(p); readln; end.