uses crt;
\n\nvar a:array[1..200]of integer;
\n\ni,n,dem:integer;
\n\nbegin
\n\nclrscr;
\n\nrepeat
\n\nwrite(\'n=\'); readln(n);
\n\nuntil (0<n) and (n<=200);
\n\nfor i:=1 to n do
\n\nbegin
\n\nwrite(\'A[\',i,\']=\'); readln(a[i]);
\n\nend;
\n\ndem:=0;
\n\nfor i:=1 to n do
\n\nif (a[i] mod 2=0) and (a[i] mod 5=0) then inc(dem);
\n\nwriteln(\'So phan tu chan va chia het cho 5 la: \',dem);
\n\nreadln;
\n\nend.
\n