def bernstein_test_3(rep: str):
    '111 . x + 1'
    a = '111'
    b = '1'
    return bitwise_xor(bitwise_dot(a, rep), b)
111 . x + 1
def bernstein_test_3(rep: str):
    
    a = '111'
    b = '1'
    return bitwise_xor(bitwise_dot(a, rep), b)