#include using namespace std; int main(){ int n,x,cate=0,S=0; float M; cin >>n; while(n>0){cin >>x; if(x%2==0){ cate++; S+=x; } n--; } M=S/cate; cout << M; return 0;}