
    Given a binary sequence representing a patient's vital sign pattern where 1 indicates abnormal readings and 0 indicates normal readings, determine how many distinct monitoring periods will show critical health patterns when the sequence is cyclically shifted across n time intervals. A critical health pattern occurs when the decimal value of the shifted binary sequence is odd, potentially indicating the need for immediate medical intervention.
    

    
def odd_Equivalent(s, n):
    """
    Given a binary sequence representing a patient's vital sign pattern where 1 indicates abnormal readings and 0 indicates normal readings, determine how many distinct monitoring periods will show critical health patterns when the sequence is cyclically shifted across n time intervals. A critical health pattern occurs when the decimal value of the shifted binary sequence is odd, potentially indicating the need for immediate medical intervention.
    

    """
def odd_Equivalent(s, n):
    """
    Given a binary sequence representing a patient's vital sign pattern where 1 indicates abnormal readings and 0 indicates normal readings, determine how many distinct monitoring periods will show critical health patterns when the sequence is cyclically shifted across n time intervals. A critical health pattern occurs when the decimal value of the shifted binary sequence is odd, potentially indicating the need for immediate medical intervention.
    

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