document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. #include <iostream>
  2. #include <sstream>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. string line;
  9. while(getline(cin,line))
  10. {
  11. char input;
  12. istringstream cin(line);
  13. char alpha[26]={0};
  14. while(cin>>input)
  15. {
  16. if(isalpha(input))
  17. {
  18. alpha[(tolower(input)-'a')]++;
  19. }
  20. }
  21. int oddSum=0;
  22. for(int i=0;i<26;i++)
  23. {
  24. oddSum += alpha[i]&1;
  25. //oddSum += alpha[i]%2;
  26. }
  27.  
  28. if(oddSum>1)
  29. {
  30. cout<<"no..."<<endl;
  31. }
  32. else
  33. {
  34. cout<<"yes !"<<endl;
  35. }
  36.  
  37. }
  38.  
  39. return 0;
  40. }
');