#include <bits/stdc++.h>   using namespace std;   int main() {     ios_base::sync_with_stdio(false);     cin.tie(NULL);     string s;     int l1, l, r, count = 0;     cin >> s;     l1 = s.size();     int arr[l1];     memset(arr, 0, sizeof(arr));     int last = -1;     for (int i = 0; i < l1;) {       if (s[i] == s[i + 1]) {         l = i;         r = i + 1;         while (s[l] == s[r] && l >= 0 && r < l1) {           count++;           s.erase(l, 1);           s.erase(l, 1);           l--;           r--;           l1 -= 2;         }         i = r - 1;         last = r - 1;       }       i++;     }     if (count % 2)       cout <<  Yes n ;     else       cout <<  No ;     return 0;   }   