def check(binary_string): return int(binary_string, 2)