
'''simple docstring'''
from cva import destroyAllWindows, imread, imshow, waitKey






def      UpperCamelCase_				(      A__						):
	# getting number of pixels in the image
	a_				,  a_      				=						img.shape[0], img.shape[1]

	# converting each pixel's color to its negative
	for i in range(A__						):
		for j in range(A__						):
			a_      				=						[2_55, 2_55, 2_55] - img[i][j]

	return img


if __name__ == "__main__":
		# read original image
		lowercase__											=imread('image_data/lena.jpg', 1)

		# convert to its negative
		lowercase__											=convert_to_negative(img)

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


'''simple docstring'''
import math






def      UpperCamelCase_				(      A__ = 1_00						):
	a_      				=						sum(i * i for i in range(1  ,      n + 1						)						)
	a_      				=						int(math.pow(sum(range(1  ,      n + 1						)						)  ,      2						)						)
	return square_of_sum - sum_of_squares


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