#include <iostream>
#include <iomanip> //输出位控制相关
using namespace std;
int main()
{
float positive_num = 0.0;
int positive_size = 0;
int input;
int negative_size = 0;
while(cin >> input)
{
if(input > 0)
{
positive_num += input;
positive_size++;
}
else if(input < 0)
{
negative_size++;
}
}
float res = 0.0;
if(positive_size > 0) //保证除数大于零
{
res = positive_num / positive_size;
}
cout << negative_size << endl;
// 保留一位小数输出
cout << fixed << setprecision(1) << res << endl;
return 0;
}