
    Given a patient's medication adherence pattern represented as a binary sequence where 1 indicates medication taken and 0 indicates medication skipped, determine the number of unique dangerous drug interaction scenarios that could occur when analyzing cyclic medication patterns over n time periods. A dangerous interaction occurs when the decimal value of a rotated medication pattern is odd, potentially indicating an adverse combination of medications.
    

    
def odd_Equivalent(s, n):
    """
    Given a patient's medication adherence pattern represented as a binary sequence where 1 indicates medication taken and 0 indicates medication skipped, determine the number of unique dangerous drug interaction scenarios that could occur when analyzing cyclic medication patterns over n time periods. A dangerous interaction occurs when the decimal value of a rotated medication pattern is odd, potentially indicating an adverse combination of medications.
    

    """
def odd_Equivalent(s, n):
    """
    Given a patient's medication adherence pattern represented as a binary sequence where 1 indicates medication taken and 0 indicates medication skipped, determine the number of unique dangerous drug interaction scenarios that could occur when analyzing cyclic medication patterns over n time periods. A dangerous interaction occurs when the decimal value of a rotated medication pattern is odd, potentially indicating an adverse combination of medications.
    

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