"""simple docstring"""






def   a_						(					lowerCamelCase					,			lowerCamelCase					,			lowerCamelCase					,			lowerCamelCase					,			lowerCamelCase					,			lowerCamelCase       ):
				if index == r:
								for j in range(lowerCamelCase       ):
												print(data[j]					,			end=' '       )
								print(' '       )
								return
				#  When no more elements are there to put in data[]
				if i >= n:
								return
				# current is included, put next at next location
				UpperCAmelCase__             =							arr[i]
				combination_util(lowerCamelCase					,			lowerCamelCase					,			lowerCamelCase					,			index + 1					,			lowerCamelCase					,			i + 1       )
				# current is excluded, replace it with
				# next (Note that i+1 is passed, but
				# index is not changed)
				combination_util(lowerCamelCase					,			lowerCamelCase					,			lowerCamelCase					,			lowerCamelCase					,			lowerCamelCase					,			i + 1       )
				# The main function that prints all combinations
				# of size r in arr[] of size n. This function
				# mainly uses combinationUtil()



def   a_						(					lowerCamelCase					,			lowerCamelCase					,			lowerCamelCase       ):
				# A temporary array to store all combination one by one
				UpperCAmelCase__             =							[0] * r
				# Print all combination using temporary array 'data[]'
				combination_util(lowerCamelCase					,			lowerCamelCase					,			lowerCamelCase					,			0					,			lowerCamelCase					,			0       )


if __name__ == "__main__":
						# Driver code to check the function above
						lowerCAmelCase__  :  str						     =	[10, 20, 30, 40, 50]
						print_combination(arr, len(arr), 3)
						# This code is contributed by Ambuj sahu




"""simple docstring"""






from PIL import Image



def   a_						(					lowerCamelCase					,			lowerCamelCase       ):
				UpperCAmelCase__             =							(2_5_9 * (level + 2_5_5)) / (2_5_5 * (2_5_9 - level))

				def contrast(lowerCamelCase       ) -> int:
								return int(1_2_8 + factor * (c - 1_2_8)       )

				return img.point(lowerCamelCase       )


if __name__ == "__main__":
						# Load image
						with Image.open('image_data/lena.jpg') as img:
												# Change contrast to 170
												lowerCAmelCase__  :  Any						     =	change_contrast(img, 170)
												cont_img.save('image_data/lena_high_contrast.png', format='png')



