



"""simple docstring"""
import math
import os

import cva
import numpy as np

__a           =							2_55.0
def   A_    (     _lowercase,   _lowercase      ):







						'''simple docstring'''


						snake_case_					:Optional[int]		=     np.mean((original - contrast) ** 2      )
						if mse == 0:
												return 100

						return 20 * math.logaa(PIXEL_MAX / math.sqrt(_lowercase      )      )
def   A_    (     ):







						'''simple docstring'''


						snake_case_					:Any		=     os.path.dirname(os.path.realpath(_lowercase      )      )
						# Loading images (original image and compressed image)
						snake_case_					:Optional[int]		=     cva.imread(os.path.join(_lowercase,   """image_data/original_image.png"""      )      )
						snake_case_					:Union[str, Any]		=     cva.imread(os.path.join(_lowercase,   """image_data/compressed_image.png"""      ),   1      )

						snake_case_					:Any		=     cva.imread(os.path.join(_lowercase,   """image_data/PSNR-example-base.png"""      )      )
						snake_case_					:Optional[int]		=     cva.imread(
						    os.path.join(_lowercase,   """image_data/PSNR-example-comp-10.jpg"""      ),   1      )

						# Value expected: 29.73dB
						print("""-- First Test --"""      )
						print(f"""PSNR value is {peak_signal_to_noise_ratio(_lowercase,   _lowercase      )} dB"""      )

						# # Value expected: 31.53dB (Wikipedia Example)
						print("""\n-- Second Test --"""      )
						print(f"""PSNR value is {peak_signal_to_noise_ratio(_lowercase,   _lowercase      )} dB"""      )


if __name__ == "__main__":
						main()

"""simple docstring"""







def     __UpperCAmelCase							(       UpperCAmelCase_       :							int = 1_00    )				->     int:

	'''simple docstring'''





	__snake_case     :				Any 						=					1
	__snake_case     :				Tuple 						=					0
	for i in range(1     ,				num + 1    ):
		fact *= i

	for j in str(UpperCAmelCase_    ):
		result += int(UpperCAmelCase_    )

	return result


if __name__ == "__main__":
	print(solution(int(input("Enter the Number: ").strip())))





