var a:Array [1..100] of word;
n,i:byte;
S:word;
begin
write('Nhap so so hang trong day : n = '); readln(n);
for i:=1 to n do begin
write('A[',i,'] = ');
readln(A[i]);
end;
S:=0;
for i:=1 to n do if A[i] mod 2 = 1 then S:=S+A[i];
if S = 0 then write('Trong day khong co so le nao nen khong tong khong ton tai') else write('Tong cac so le trong day la : S = ',S);
readln
end.