


def   _UpperCAmelCase       (     UpperCAmelCase      :			int						,	UpperCAmelCase      :			int      ):
      """simple docstring"""




      if a < 0 or b < 0:
            raise ValueError("""the value of both inputs must be positive"""      )

      __lowerCamelCase     :      Tuple       						=						str(bin(UpperCAmelCase      )      )[2:]  # remove the leading "0b"
      __lowerCamelCase     :      List[str]       						=						str(bin(UpperCAmelCase      )      )[2:]  # remove the leading "0b"

      __lowerCamelCase     :      Union[str, Any]       						=						max(len(UpperCAmelCase      )						,	len(UpperCAmelCase      )      )

      return "0b" + "".join(
          str(int(char_a == """1""" and char_b == """1"""      )      )
          for char_a, char_b in zip(a_binary.zfill(UpperCAmelCase      )						,	b_binary.zfill(UpperCAmelCase      )      )      )


if __name__ == "__main__":
    import doctest

    doctest.testmod()







def   _UpperCAmelCase       (     UpperCAmelCase      :			int = 4_000_000      ):
      """simple docstring"""




      __lowerCamelCase     :      Union[str, Any]       						=						[0, 1]
      __lowerCamelCase     :      Dict       						=						0
      while fib[i] <= n:
            fib.append(fib[i] + fib[i + 1]      )
            if fib[i + 2] > n:
                  break
            i += 1
      __lowerCamelCase     :      Any       						=						0
      for j in range(len(UpperCAmelCase      ) - 1      ):
            if fib[j] % 2 == 0:
                  total += fib[j]

      return total


if __name__ == "__main__":
    print(F'''{solution() = }''')



