
    Design a fraud detection function that analyzes a sequence of security check results from transaction patterns and determines how many unique fraud risk scores are flagged as high-risk after shifting the pattern sequence across different time windows. The security check results are represented as a binary string where 1 indicates a passed check and 0 indicates a failed check, and the function should evaluate all possible pattern shifts up to the specified number of time windows. The risk score is considered high-risk when the decimal value of the shifted pattern is odd.
    

    
def odd_Equivalent(s, n):
    """
    Design a fraud detection function that analyzes a sequence of security check results from transaction patterns and determines how many unique fraud risk scores are flagged as high-risk after shifting the pattern sequence across different time windows. The security check results are represented as a binary string where 1 indicates a passed check and 0 indicates a failed check, and the function should evaluate all possible pattern shifts up to the specified number of time windows. The risk score is considered high-risk when the decimal value of the shifted pattern is odd.
    

    """
def odd_Equivalent(s, n):
    """
    Design a fraud detection function that analyzes a sequence of security check results from transaction patterns and determines how many unique fraud risk scores are flagged as high-risk after shifting the pattern sequence across different time windows. The security check results are represented as a binary string where 1 indicates a passed check and 0 indicates a failed check, and the function should evaluate all possible pattern shifts up to the specified number of time windows. The risk score is considered high-risk when the decimal value of the shifted pattern is odd.
    

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