def make_flip(ch):
    count1 = 0  # flips needed to make it start with '0': 0101...
    count2 = 0  # flips needed to make it start with '1': 1010...
    
    for i, c in enumerate(ch):
        if i % 2 == 0:
            if c == '1':
                count1 += 1
            else:
                count2 += 1
        else:
            if c == '0':
                count1 += 1
            else:
                count2 += 1
    
    return min(count1, count2)