#include<bits/stdc++.h> using namespace std; #define endl "\n" int main(){ ios::sync_with_stdio(false);cin.tie(0);cout.tie(0); char c; int d=0; while(cin>>c){ if(c=='-')d++; } cout<<d<<" negative numbers"; }