program kiemtratong;
uses crt;
var A:array[1..1000] of integer;
n,i:integer;
s:longint;
begin
clrscr;
write('Nhap so luong phan tu cua day: '); readln(n);
writeln('NHAP GIA TRI TUNG PHAN TU CUA DAY');
s:=0;
for i:=1 to n do
begin
write('Phan tu thu ',i,': ');
readln(A[i]);
s:=s+A[i];
end;
writeln('Tong cua day so la: ',s);
if s mod 2=0 then write('Tong la so chan')
else write('Tong la so le');
readln
end.