#include <iostream>
using namespace std;
int main() {
int n, k=0; double S=0;
cin >> n;
double C[n];
for(int i=0; i<n; i++)
{
cin >> C[i];
if (C[i]<0)
k++;
else S+=C[i];
}
cout << "Negative numbers: " << k << " The sum of positive numbers: " << S;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CmludCBuLCBrPTA7IGRvdWJsZSBTPTA7CmNpbiA+PiBuOwpkb3VibGUgQ1tuXTsKZm9yKGludCBpPTA7IGk8bjsgaSsrKQoJewoJCWNpbiA+PiBDW2ldOwoJCWlmIChDW2ldPDApCgkJCWsrKzsKCQllbHNlIFMrPUNbaV07Cgl9CmNvdXQgPDwgIk5lZ2F0aXZlIG51bWJlcnM6ICIgPDwgayA8PCAiICBUaGUgc3VtIG9mIHBvc2l0aXZlIG51bWJlcnM6ICIgPDwgUzsKCXJldHVybiAwOwp9