
    Given a sequence of normal/abnormal vital sign readings from an emergency room patient represented as a binary pattern, determine how many unique critical states are detected when analyzing the pattern over different monitoring periods by rotating the sequence. A critical state is defined when the decimal value of the binary vital sign pattern is odd, and the analysis needs to be performed for a specified number of time intervals.
    

    
def odd_Equivalent(s, n):
    """
    Given a sequence of normal/abnormal vital sign readings from an emergency room patient represented as a binary pattern, determine how many unique critical states are detected when analyzing the pattern over different monitoring periods by rotating the sequence. A critical state is defined when the decimal value of the binary vital sign pattern is odd, and the analysis needs to be performed for a specified number of time intervals.
    

    """
def odd_Equivalent(s, n):
    """
    Given a sequence of normal/abnormal vital sign readings from an emergency room patient represented as a binary pattern, determine how many unique critical states are detected when analyzing the pattern over different monitoring periods by rotating the sequence. A critical state is defined when the decimal value of the binary vital sign pattern is odd, and the analysis needs to be performed for a specified number of time intervals.
    

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