Const N = 5; var a:array[1..N] of integer; i, s: integer; begin s:=0; for i:=1 to N do begin readln(a[i]); If (a[i] mod 3 = 0) and (a[i] mod 5 <> 0) then s:=s+1; end; writeln(s); end.
Const n=10;var a:array[1..n]of integer;i,k:integer;begink:=0;for i:=1 to n do begin read(a[i]);if ((a[i] mod 3=0) and (a[i] mod 5 >0)) then k:=k+1;end;write('таких чисел:',k);end.
var a:array[1..N] of integer;
i, s: integer;
begin
s:=0;
for i:=1 to N do begin
readln(a[i]);
If (a[i] mod 3 = 0) and (a[i] mod 5 <> 0) then
s:=s+1;
end;
writeln(s);
end.