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# (Mono 4.6.2.0) (judge verdict: Accepted)

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AtCode
{
    class Class1
    {
        static void Main(string[] args)
        {
            string Input = Console.ReadLine();
            int InputLength = Input.Length;
            int flg = 0;
            char Pick = new char();
            string tmpInput = Input;
            string UseMoji = null;
            int Total = 0;
            int flg2 = 0;
            for (int i = 0; i < InputLength; i++)
            {
                Pick = tmpInput[0];
                tmpInput = tmpInput.Remove(0, 1);
                flg = tmpInput.IndexOf(Pick);
                if (flg != -1)
                {
                    UseMoji += Pick;
                    flg2 = 1;
                }

            }
            flg = 1;
            if (flg2 == 1) {
                for (int i = 0; i < UseMoji.Length; i++)
                {
                    Pick = UseMoji[i];
                    Total = CountChar(UseMoji, Pick);
                    if (Total % 2 != 1)
                    {
                        flg = 0;
                    }
                }
            }
            else
            {
                flg = 0;
            }
            if (flg == 0)
            {
                Console.WriteLine("No");
            }
            else
            {
                Console.WriteLine("Yes");
            }
        }
        public static int CountChar(string s, char c)
        {
            return s.Length - s.Replace(c.ToString(), "").Length;
        }
    }
    
}