Check if chocolates can be distributed for more than mid consecutive days
start = mid + 1 NEW_LINE elif ( mid == 0 ) : NEW_LINE start = mid + 1 NEW_LINE else : NEW_LINE end = mid - 1 NEW_LINE return ans NEW_LINE