#include <iostream>
#include <math.h>
using namespace std;
int main()
{
int n; float sir[500]; int cate_sunt_nr=0, i, suma=0;
cout <<"n= ";cin>>n;
for(i=0; i<=n; i++)
{
cout <<"sir["<<i<<"]= ";
cin>>sir[i];cout<<endl;
}
for (i=0;i<=n;i++) {
if ( sir[i]/sir[i]== 0 ) { cate_sunt_nr=cate_sunt_nr+1; }
}
cout <<"Sunt Numere: "<<cate_sunt_nr;
for (i=0;i<=n;i++){
if ( sir[i]/sir[i] ) { suma=suma+sir[i]; }
}
cout <<"Suma Cifrelor= "<<suma;
return 0;
}