program project1;
var
i, n, s, c: Integer;
a, b: ^Integer;
begin
ReadLn(n);
GetMem(a, n*SizeOf(Integer));
b:=a;
s:=0;
c:=0;
for i:=1 to n do
begin
ReadLn(b^);
s:=s+b^;
inc(c, b^ and 1);
inc(b);
end;
b:=a;
for i:=1 to n do
begin
Write(b^, ' ');
Inc(b);
end;
WriteLn(#13#10'Odds=', c);
WriteLn('Avg=', s/n);
ReadLn;
end.