#include <bits/stdc++.h>
using namespace std;
tring s;
int main () {
    cin >> s ;
    int a,b;
    a=b=0;
    int k=s.length();
    lol(i,k){
        if(s[i]=='0')a++;
        if(s[i]=='1')b++;
    }