Uses crt;
const n=10;
var a:array[1..n] of integer;
k,s,i:integer;
begin
randomize;
k:=0;
s:=0;
for i:=1 to n do
begin
a[i]:=random(50);
write(a[i]:3);
end;
writeln;
for i:=1 to n do
if a[i] mod 2<>0 then begin inc(k); s:=s+a[i];
end;
writeln(s);
writeln(k);
end.