
    Write a function that analyzes a patient's post-discharge vital signs data pattern to determine how many unique risk states occur when examining consecutive monitoring periods of specified length. Given a binary string representing daily vital signs status (0 for normal, 1 for abnormal) and the monitoring period length, calculate how many monitoring windows show an odd number of days with abnormal readings when cyclically analyzing the data.
    

    
def odd_Equivalent(s, n):
    """
    Write a function that analyzes a patient's post-discharge vital signs data pattern to determine how many unique risk states occur when examining consecutive monitoring periods of specified length. Given a binary string representing daily vital signs status (0 for normal, 1 for abnormal) and the monitoring period length, calculate how many monitoring windows show an odd number of days with abnormal readings when cyclically analyzing the data.
    

    """
def odd_Equivalent(s, n):
    """
    Write a function that analyzes a patient's post-discharge vital signs data pattern to determine how many unique risk states occur when examining consecutive monitoring periods of specified length. Given a binary string representing daily vital signs status (0 for normal, 1 for abnormal) and the monitoring period length, calculate how many monitoring windows show an odd number of days with abnormal readings when cyclically analyzing the data.
    

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