Var
A:array[1..100] of integer;
Sc,sl,snt,n,i,j:integer;
Kt:boolean;
Begin
Readln(n);sc:=0,sl:=0;snt:=0;
For i:=1 to n do
Begin
Readln(a[i]);
If a[i] mod 2=0 then sc:=sc+1 else sl:=sl+1;
End;
Writeln('so le:',sl,',so chan:',sc);
For i:=1 to n do
If a[i]>1 then
Begin
Kt:=true
For j:=2 to a[i]-1 do if a[i] mod j=0 then kt:=false;
If kt=true then snt:=snt +1;
End;
Writeln('so luong snt la:',snt);
Readln
End.