#include<bits/stdc++.h>
using namespace std;
int main(){
ios::sync_with_stdio(false);
cin.tie(0);
}
using namespace std;
int main(){
ios::sync_with_stdio(false);
cin.tie(0);
int cnt=0;
string t;
getline(cin,t);
int n= stoi(t);
string s;
getline(cin,s);
for(int i=0;i<n;i++){
if(s[i]!=' '){
cnt++;
}
}
cout<<cnt<<'\n';
return 0;}
0 回复
0 转发
0 喜欢
24 阅读



