Program HOC24;
var i,n: byte;
t: longint;
a: array[1..100] of integer;
begin
write('Nhap N: '); readln(n);
for i:=1 to n do
begin
write('Nhap so thu ',i,': '); readln(a[i]);
end;
t:=0;
for i:=1 to n do
if a[i]>10 then t:=t+a[i];
writeln('Tong cac so lon hon 10 la: ',t);
readln
end.