- #include<bits/stdc++.h>
- using namespace std;
- int main()
- {
- string s;
- while(cin>>s){
- int a[26]={0};
- string str;
- for(int i=0;i<s.length();i++){
- char c=s[i];
- if(c>='A'&&c<='Z'){
- a[c-65]++;
- }else if(c>='a'&&c<='z'){
- a[c-97]++;
- }
- }
- int b=-1;
- for(int i=0;i<26;i++){
- if(a[i]%2!=0){
- b++;
- }
- }
- if(b>0){
- cout<<"no..."<<endl;
- }else{
- cout<<"yes !"<<endl;
- }
- }
- return 0;
- }
複製代碼 |