

import operator as op



def    __UpperCAmelCase (	__a      :			Dict	)			->     Tuple:

					"""simple docstring"""

					_a	:    Dict         =		[]
					_a	:    List[str]         =		lambda __a		,__a	: int(x / y	)  # noqa: E731 integer division operation
					_a	:    List[Any]         =		{
					    "^": op.pow,
					    "*": op.mul,
					    "/": div,
					    "+": op.add,
					    "-": op.sub,
					}  # operators & their respective operation

					# print table header
					print('''Symbol'''.center(8	)		,'''Action'''.center(12	)		,'''Stack'''		,sep=''' | '''	)
					print('''-''' * (30 + len(_lowerCamelCase	))	)

					for x in post_fix:
										if x.isdigit():  # if x in digit
															stack.append(_lowerCamelCase	)  # append x to stack
															# output in tabular format
															print(x.rjust(8	)		,('''push(''' + x + ''')''').ljust(12	)		,''','''.join(_lowerCamelCase	)		,sep=''' | '''	)
										else:
															_a	:    List[Any]         =		stack.pop()  # pop stack
															# output in tabular format
															print(''''''.rjust(8	)		,('''pop(''' + b + ''')''').ljust(12	)		,''','''.join(_lowerCamelCase	)		,sep=''' | '''	)

															_a	:    Tuple         =		stack.pop()  # pop stack
															# output in tabular format
															print(''''''.rjust(8	)		,('''pop(''' + a + ''')''').ljust(12	)		,''','''.join(_lowerCamelCase	)		,sep=''' | '''	)

															stack.append(
															    str(opr[x](int(_lowerCamelCase	)		,int(_lowerCamelCase	)	)	)	)  # evaluate the 2 values popped from stack & push result to stack
															# output in tabular format
															print(
															    x.rjust(8	)		,('''push(''' + a + x + b + ''')''').ljust(12	)		,''','''.join(_lowerCamelCase	)		,sep=''' | '''		,)

					return int(stack[0]	)


if __name__ == "__main__":
			a__				=		input('''\n\nEnter a Postfix Equation (space separated) = ''').split(''' ''')
			print('''\n\tResult = ''', solve(Postfix))





from PIL import Image




def 	_SCREAMING_SNAKE_CASE					(		_lowerCamelCase :			Image						,  _lowerCamelCase :			int)					->    Image:






							'''simple docstring'''





							__UpperCamelCase	:   str			   =					(259 * (level + 255)) / (255 * (259 - level))

							def contrast(_lowerCamelCase :			int) -> int:
														return int(128 + factor * (c - 128))

							return img.point(_lowerCamelCase)


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