#include<iostream>
#include<iomanip>
using namespace std;
int main(int argc,char* argv[])
{
int num=0;
int negCount=0,posCount=0;
long sum=0;
while(cin>>num)
{
if(num<0) negCount++;
else{
posCount++;
sum+=num;
}
}
cout<<negCount<<endl;
if(posCount==0) cout<<"0.0"<<endl;
else{
cout.setf(ios::fixed);
cout<<setprecision(1)<<(float)sum/posCount<<endl;
cout.unsetf(ios::fixed);
}
return 0;
}
#include<iomanip>
using namespace std;
int main(int argc,char* argv[])
{
int num=0;
int negCount=0,posCount=0;
long sum=0;
while(cin>>num)
{
if(num<0) negCount++;
else{
posCount++;
sum+=num;
}
}
cout<<negCount<<endl;
if(posCount==0) cout<<"0.0"<<endl;
else{
cout.setf(ios::fixed);
cout<<setprecision(1)<<(float)sum/posCount<<endl;
cout.unsetf(ios::fixed);
}
return 0;
}