import java.io.PrintWriter;
import java.util.Arrays;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String w = sc.next();
        String[] str = new String[w.length()];
        int count = 2;

        for (int i = 0; i < w.length(); i++) {
            str[i] = w.split("")[i];
        }

        Arrays.sort(str);
        PrintWriter out = new PrintWriter(System.out);

        if (w.length() > 1) {
            if (!str[1].equals(str[0])) {
                out.println("No");
                sc.close();
                out.flush();
                return;
            }
        } else {
            out.println("No");
            sc.close();
            out.flush();
            return;
        }

        for (int i = 2; i < w.length(); i++) {
            if (str[i].equals(str[i - 1])) {
                count++;
            } else {
                if (count % 2 == 0) {
                    count = 1;
                } else {
                    out.println("No");
                    sc.close();
                    out.flush();
                    return;
                }
            }
        }

        if (count % 2 == 0) {
            out.println("Yes");
        } else {
            out.println("No");
            sc.close();
            out.flush();
        }
        sc.close();
        out.flush();
    }
} import java.io.PrintWriter; PrintWriter java.io import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String w = sc.next();
        String[] str = new String[w.length()];
        int count = 2;

        for (int i = 0; i < w.length(); i++) {
            str[i] = w.split("")[i];
        }

        Arrays.sort(str);
        PrintWriter out = new PrintWriter(System.out);

        if (w.length() > 1) {
            if (!str[1].equals(str[0])) {
                out.println("No");
                sc.close();
                out.flush();
                return;
            }
        } else {
            out.println("No");
            sc.close();
            out.flush();
            return;
        }

        for (int i = 2; i < w.length(); i++) {
            if (str[i].equals(str[i - 1])) {
                count++;
            } else {
                if (count % 2 == 0) {
                    count = 1;
                } else {
                    out.println("No");
                    sc.close();
                    out.flush();
                    return;
                }
            }
        }

        if (count % 2 == 0) {
            out.println("Yes");
        } else {
            out.println("No");
            sc.close();
            out.flush();
        }
        sc.close();
        out.flush();
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String w = sc.next();
        String[] str = new String[w.length()];
        int count = 2;

        for (int i = 0; i < w.length(); i++) {
            str[i] = w.split("")[i];
        }

        Arrays.sort(str);
        PrintWriter out = new PrintWriter(System.out);

        if (w.length() > 1) {
            if (!str[1].equals(str[0])) {
                out.println("No");
                sc.close();
                out.flush();
                return;
            }
        } else {
            out.println("No");
            sc.close();
            out.flush();
            return;
        }

        for (int i = 2; i < w.length(); i++) {
            if (str[i].equals(str[i - 1])) {
                count++;
            } else {
                if (count % 2 == 0) {
                    count = 1;
                } else {
                    out.println("No");
                    sc.close();
                    out.flush();
                    return;
                }
            }
        }

        if (count % 2 == 0) {
            out.println("Yes");
        } else {
            out.println("No");
            sc.close();
            out.flush();
        }
        sc.close();
        out.flush();
    } main {
        Scanner sc = new Scanner(System.in);
        String w = sc.next();
        String[] str = new String[w.length()];
        int count = 2;

        for (int i = 0; i < w.length(); i++) {
            str[i] = w.split("")[i];
        }

        Arrays.sort(str);
        PrintWriter out = new PrintWriter(System.out);

        if (w.length() > 1) {
            if (!str[1].equals(str[0])) {
                out.println("No");
                sc.close();
                out.flush();
                return;
            }
        } else {
            out.println("No");
            sc.close();
            out.flush();
            return;
        }

        for (int i = 2; i < w.length(); i++) {
            if (str[i].equals(str[i - 1])) {
                count++;
            } else {
                if (count % 2 == 0) {
                    count = 1;
                } else {
                    out.println("No");
                    sc.close();
                    out.flush();
                    return;
                }
            }
        }

        if (count % 2 == 0) {
            out.println("Yes");
        } else {
            out.println("No");
            sc.close();
            out.flush();
        }
        sc.close();
        out.flush();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String w = sc.next(); w sc.next() sc.next sc String[] str = new String[w.length()]; str new String[w.length()] w.length() w.length w int count = 2; count 2 for (int i = 0; i < w.length(); i++) {
            str[i] = w.split("")[i];
        } int i = 0; int i = 0; i 0 i < w.length() i w.length() w.length w i++ i++ i {
            str[i] = w.split("")[i];
        } {
            str[i] = w.split("")[i];
        } str[i] = w.split("")[i] str[i] str i w.split("")[i] w.split("") w.split w "" i Arrays.sort(str) Arrays.sort Arrays str PrintWriter out = new PrintWriter(System.out); out new PrintWriter(System.out) if (w.length() > 1) {
            if (!str[1].equals(str[0])) {
                out.println("No");
                sc.close();
                out.flush();
                return;
            }
        } else {
            out.println("No");
            sc.close();
            out.flush();
            return;
        } w.length() > 1 w.length() w.length w 1 {
            if (!str[1].equals(str[0])) {
                out.println("No");
                sc.close();
                out.flush();
                return;
            }
        } if (!str[1].equals(str[0])) {
                out.println("No");
                sc.close();
                out.flush();
                return;
            } !str[1].equals(str[0]) str[1].equals(str[0]) str[1].equals str[1] str 1 str[0] str 0 {
                out.println("No");
                sc.close();
                out.flush();
                return;
            } out.println("No") out.println out "No" sc.close() sc.close sc out.flush() out.flush out return; {
            out.println("No");
            sc.close();
            out.flush();
            return;
        } out.println("No") out.println out "No" sc.close() sc.close sc out.flush() out.flush out return; for (int i = 2; i < w.length(); i++) {
            if (str[i].equals(str[i - 1])) {
                count++;
            } else {
                if (count % 2 == 0) {
                    count = 1;
                } else {
                    out.println("No");
                    sc.close();
                    out.flush();
                    return;
                }
            }
        } int i = 2; int i = 2; i 2 i < w.length() i w.length() w.length w i++ i++ i {
            if (str[i].equals(str[i - 1])) {
                count++;
            } else {
                if (count % 2 == 0) {
                    count = 1;
                } else {
                    out.println("No");
                    sc.close();
                    out.flush();
                    return;
                }
            }
        } {
            if (str[i].equals(str[i - 1])) {
                count++;
            } else {
                if (count % 2 == 0) {
                    count = 1;
                } else {
                    out.println("No");
                    sc.close();
                    out.flush();
                    return;
                }
            }
        } if (str[i].equals(str[i - 1])) {
                count++;
            } else {
                if (count % 2 == 0) {
                    count = 1;
                } else {
                    out.println("No");
                    sc.close();
                    out.flush();
                    return;
                }
            } str[i].equals(str[i - 1]) str[i].equals str[i] str i str[i - 1] str i - 1 i 1 {
                count++;
            } count++ count {
                if (count % 2 == 0) {
                    count = 1;
                } else {
                    out.println("No");
                    sc.close();
                    out.flush();
                    return;
                }
            } if (count % 2 == 0) {
                    count = 1;
                } else {
                    out.println("No");
                    sc.close();
                    out.flush();
                    return;
                } count % 2 == 0 count % 2 count 2 0 {
                    count = 1;
                } count = 1 count 1 {
                    out.println("No");
                    sc.close();
                    out.flush();
                    return;
                } out.println("No") out.println out "No" sc.close() sc.close sc out.flush() out.flush out return; if (count % 2 == 0) {
            out.println("Yes");
        } else {
            out.println("No");
            sc.close();
            out.flush();
        } count % 2 == 0 count % 2 count 2 0 {
            out.println("Yes");
        } out.println("Yes") out.println out "Yes" {
            out.println("No");
            sc.close();
            out.flush();
        } out.println("No") out.println out "No" sc.close() sc.close sc out.flush() out.flush out sc.close() sc.close sc out.flush() out.flush out String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String w = sc.next();
        String[] str = new String[w.length()];
        int count = 2;

        for (int i = 0; i < w.length(); i++) {
            str[i] = w.split("")[i];
        }

        Arrays.sort(str);
        PrintWriter out = new PrintWriter(System.out);

        if (w.length() > 1) {
            if (!str[1].equals(str[0])) {
                out.println("No");
                sc.close();
                out.flush();
                return;
            }
        } else {
            out.println("No");
            sc.close();
            out.flush();
            return;
        }

        for (int i = 2; i < w.length(); i++) {
            if (str[i].equals(str[i - 1])) {
                count++;
            } else {
                if (count % 2 == 0) {
                    count = 1;
                } else {
                    out.println("No");
                    sc.close();
                    out.flush();
                    return;
                }
            }
        }

        if (count % 2 == 0) {
            out.println("Yes");
        } else {
            out.println("No");
            sc.close();
            out.flush();
        }
        sc.close();
        out.flush();
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String w = sc.next();
        String[] str = new String[w.length()];
        int count = 2;

        for (int i = 0; i < w.length(); i++) {
            str[i] = w.split("")[i];
        }

        Arrays.sort(str);
        PrintWriter out = new PrintWriter(System.out);

        if (w.length() > 1) {
            if (!str[1].equals(str[0])) {
                out.println("No");
                sc.close();
                out.flush();
                return;
            }
        } else {
            out.println("No");
            sc.close();
            out.flush();
            return;
        }

        for (int i = 2; i < w.length(); i++) {
            if (str[i].equals(str[i - 1])) {
                count++;
            } else {
                if (count % 2 == 0) {
                    count = 1;
                } else {
                    out.println("No");
                    sc.close();
                    out.flush();
                    return;
                }
            }
        }

        if (count % 2 == 0) {
            out.println("Yes");
        } else {
            out.println("No");
            sc.close();
            out.flush();
        }
        sc.close();
        out.flush();
    }
} Main
import java.io.PrintWriter;
import java.util.Arrays;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String w = sc.next();
        String[] str = new String[w.length()];
        int count = 2;

        for (int i = 0; i < w.length(); i++) {
            str[i] = w.split("")[i];
        }

        Arrays.sort(str);
        PrintWriter out = new PrintWriter(System.out);

        if (w.length() > 1) {
            if (!str[1].equals(str[0])) {
                out.println("No");
                sc.close();
                out.flush();
                return;
            }
        } else {
            out.println("No");
            sc.close();
            out.flush();
            return;
        }

        for (int i = 2; i < w.length(); i++) {
            if (str[i].equals(str[i - 1])) {
                count++;
            } else {
                if (count % 2 == 0) {
                    count = 1;
                } else {
                    out.println("No");
                    sc.close();
                    out.flush();
                    return;
                }
            }
        }

        if (count % 2 == 0) {
            out.println("Yes");
        } else {
            out.println("No");
            sc.close();
            out.flush();
        }
        sc.close();
        out.flush();
    }
}