
    Given a patient's medical risk pattern represented as a binary sequence where 1 indicates presence and 0 indicates absence of risk factors, determine how many times the patient would be classified as high-risk when analyzing the pattern over different time periods by rotating the sequence n times. A high-risk classification occurs when the decimal value of the rotated binary sequence is odd, potentially indicating a concerning combination of risk factors.
    

    
def odd_Equivalent(s, n):
    """
    Given a patient's medical risk pattern represented as a binary sequence where 1 indicates presence and 0 indicates absence of risk factors, determine how many times the patient would be classified as high-risk when analyzing the pattern over different time periods by rotating the sequence n times. A high-risk classification occurs when the decimal value of the rotated binary sequence is odd, potentially indicating a concerning combination of risk factors.
    

    """
def odd_Equivalent(s, n):
    """
    Given a patient's medical risk pattern represented as a binary sequence where 1 indicates presence and 0 indicates absence of risk factors, determine how many times the patient would be classified as high-risk when analyzing the pattern over different time periods by rotating the sequence n times. A high-risk classification occurs when the decimal value of the rotated binary sequence is odd, potentially indicating a concerning combination of risk factors.
    

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