

'''simple docstring'''
def 	UpperCamelCase   (       lowercase_						:    list	)		->	int:




  '''simple docstring'''



  if not grid or not grid[0]:
    raise TypeError('''The grid does not contain the appropriate information'''	)

  for cell_n in range(1     ,					len(grid[0]	)	):
    grid[0][cell_n] += grid[0][cell_n - 1]
  lowercase									=grid[0]

  for row_n in range(1     ,					len(SCREAMING_SNAKE_CASE_	)	):
    lowercase									=grid[row_n]
    lowercase									=fill_row(SCREAMING_SNAKE_CASE_     ,					SCREAMING_SNAKE_CASE_	)
    lowercase									=grid[row_n]

  return grid[-1][-1]




def 	UpperCamelCase   (       lowercase_						:    list     ,					lowercase_						:    list	)		->	list:




  '''simple docstring'''



  current_row[0] += row_above[0]
  for cell_n in range(1     ,					len(SCREAMING_SNAKE_CASE_	)	):
    current_row[cell_n] += min(current_row[cell_n - 1]     ,					row_above[cell_n]	)

  return current_row


if __name__ == "__main__":
     import doctest

     doctest.testmod()







def      A__       (    SCREAMING_SNAKE_CASE_   :      int				,	SCREAMING_SNAKE_CASE_   :      int						)  ->  str:






   """simple docstring"""







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

   _UpperCAmelCase           =   str(bin(SCREAMING_SNAKE_CASE_						)						)[2:]  # remove the leading "0b"
   _UpperCAmelCase           =   str(bin(SCREAMING_SNAKE_CASE_						)						)[2:]  # remove the leading "0b"

   _UpperCAmelCase           =   max(len(SCREAMING_SNAKE_CASE_						)				,	len(SCREAMING_SNAKE_CASE_						)						)

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


if __name__ == "__main__":
   import doctest

   doctest.testmod()