Problem:
Score : 200 points

Problem Statement

Let w be a string consisting of lowercase letters.
We will call w beautiful if the following condition is satisfied:

Each lowercase letter of the English alphabet occurs even number of times in w.

You are given the string w. Determine if w is beautiful.

Constraints

1 \leq |w| \leq 100

w consists of lowercase letters (a-z).

Input

The input is given from Standard Input in the following format:

w

Output

Print Yes if w is beautiful. Print No otherwise.

Sample Input 1

abaccaba

Sample Output 1

Yes

a occurs four times, b occurs twice, c occurs twice and the other letters occur zero times.

Sample Input 2

hthth

Sample Output 2

No

Solution in C (GCC 5.4.1) (judge verdict: Accepted)

#include <stdio.h>
#include <string.h>
 
int main(void)
{
  char w[101];
  int len,i,ma = 0,mb = 0,mc = 0,md = 0,me = 0,mf = 0,mg = 0,mh = 0,mi = 0,mj = 0,mk = 0,ml = 0,mm = 0,mn = 0,mo = 0,mp = 0,mq = 0,mr = 0,ms = 0,mt = 0,mu = 0,mv = 0,mw = 0,mx = 0,my = 0,mz = 0;
  scanf("%s",w);
  len = strlen(w);
  if(len < 101) {
    for (i = 0; w[i] != 0; i++) {
      if (w[i] == 'a') ma++;
      if (w[i] == 'b') mb++;
      if (w[i] == 'c') mc++;
      if (w[i] == 'd') md++;
      if (w[i] == 'e') me++;
      if (w[i] == 'f') mf++;
      if (w[i] == 'g') mg++;
      if (w[i] == 'h') mh++;
      if (w[i] == 'i') mi++;
      if (w[i] == 'j') mj++;
      if (w[i] == 'k') mk++;
      if (w[i] == 'l') ml++;
      if (w[i] == 'm') mm++;
      if (w[i] == 'n') mn++;
      if (w[i] == 'o') mo++;
      if (w[i] == 'p') mp++;
      if (w[i] == 'q') mq++;
      if (w[i] == 'r') mr++;
      if (w[i] == 's') ms++;
      if (w[i] == 't') mt++;
      if (w[i] == 'u') mu++;
      if (w[i] == 'v') mv++;
      if (w[i] == 'w') mw++;
      if (w[i] == 'x') mx++;
      if (w[i] == 'y') my++;
      if (w[i] == 'z') mz++;
    }
    if (ma % 2 == 0 && mb % 2 == 0 && mc % 2 == 0 && md % 2 == 0 && me % 2 == 0 && mf % 2 == 0 && mg % 2 == 0 && mh % 2 == 0 && mi % 2 == 0 && mj % 2 == 0 && mk % 2 == 0 && ml % 2 == 0 && mm % 2 == 0 && mn % 2 == 0 && mo % 2 == 0 && mp % 2 == 0 && mq % 2 == 0 && mr % 2 == 0 && ms % 2 == 0 && mt % 2 == 0 && mu % 2 == 0 && mv % 2 == 0 && mw % 2 == 0 && mx % 2 == 0 && my % 2 == 0 && mz % 2 == 0) {
      printf("Yes\n");
    } else {
      printf("No\n");
    }
  }
  return 0;
}