
def 						__magic_name__			(   __a      :	int	,		__a      :	int						):



     '''simple docstring'''




     return x if y == 0 else greatest_common_divisor(__a	,		x % y						)






def 						__magic_name__			(   __a      :	int	,		__a      :	int						):



     '''simple docstring'''




     return (x * y) // greatest_common_divisor(__a	,		__a						)






def 						__magic_name__			(   __a      :	int = 20						):



     '''simple docstring'''




     UpperCamelCase__				=    1
     for i in range(1	,		n + 1						):
          UpperCamelCase__				=    lcm(__a	,		__a						)
     return g


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







from PIL import Image






def 						__magic_name__			(   __a      :	Image						):



     '''simple docstring'''




     UpperCamelCase__		,	UpperCamelCase__				=    image.size
     UpperCamelCase__				=    0
     UpperCamelCase__				=    image.load()
     for i in range(__a						):
          for j in range(__a						):
               UpperCamelCase__				=    pixels[j, i]
               mean += pixel
     mean //= width * height

     for j in range(__a						):
          for i in range(__a						):
               UpperCamelCase__				=    255 if pixels[i, j] > mean else 0
     return image


if __name__ == "__main__":
    lowerCamelCase_						     =					mean_threshold(Image.open('''path_to_image''').convert('''L'''))
    image.save('''output_image_path''')





