

def     lowerCAmelCase__							(		SCREAMING_SNAKE_CASE_:							int = 1_0_0_0					)	->					int:




				'''simple docstring'''





				A__						=	2**power
				A__						=	str(SCREAMING_SNAKE_CASE_					)
				A__						=	list(SCREAMING_SNAKE_CASE_					)
				A__						=	0

				for i in list_num:
								sum_of_num += int(SCREAMING_SNAKE_CASE_					)

				return sum_of_num


if __name__ == "__main__":
	lowerCAmelCase__		      =       int(input("""Enter the power of 2: """).strip())
	print("""2 ^ """, power, """ = """, 2**power)
	lowerCAmelCase__		      =       solution(power)
	print("""Sum of the digits is: """, result)









"""simple docstring"""





from cva import destroyAllWindows, imread, imshow, waitKey







def      lowerCamelCase__       (							_lowerCamelCase       :		Tuple )      ->				Dict:
  # getting number of pixels in the image
  lowerCamelCase_     ,	lowerCamelCase_         =						img.shape[0], img.shape[1]

  # converting each pixel's color to its negative
  for i in range(_lowerCamelCase ):
    for j in range(_lowerCamelCase ):
      lowerCamelCase_         =						[255, 255, 255] - img[i][j]

  return img


if __name__ == "__main__":
  # read original image
  _SCREAMING_SNAKE_CASE					:				List[Any]					    =						imread('''image_data/lena.jpg''', 1)

  # convert to its negative
  _SCREAMING_SNAKE_CASE					:				List[Any]					    =						convert_to_negative(img)

  # show result image
  imshow('''negative of original image''', img)
  waitKey(0)
  destroyAllWindows()




