
    Given a binary string representing a customer's monthly budget adherence pattern, where 1 indicates over-budget months and 0 indicates within-budget months, determine how many unique financial scenarios would show concerning spending behavior when analyzing different time period shifts of this pattern. A concerning spending behavior is defined as when the numeric value of the shifted pattern, when interpreted as a binary number, is odd, and the analysis should consider all possible shifts up to the specified number of months.
    

    
def odd_Equivalent(s, n):
    """
    Given a binary string representing a customer's monthly budget adherence pattern, where 1 indicates over-budget months and 0 indicates within-budget months, determine how many unique financial scenarios would show concerning spending behavior when analyzing different time period shifts of this pattern. A concerning spending behavior is defined as when the numeric value of the shifted pattern, when interpreted as a binary number, is odd, and the analysis should consider all possible shifts up to the specified number of months.
    

    """
def odd_Equivalent(s, n):
    """
    Given a binary string representing a customer's monthly budget adherence pattern, where 1 indicates over-budget months and 0 indicates within-budget months, determine how many unique financial scenarios would show concerning spending behavior when analyzing different time period shifts of this pattern. A concerning spending behavior is defined as when the numeric value of the shifted pattern, when interpreted as a binary number, is odd, and the analysis should consider all possible shifts up to the specified number of months.
    

    """
    count = 0
    for i in range(0, n):
        if s[i] == '1':
            count = count + 1
    return count