


'''simple docstring'''







def        __lowercase						(      __SCREAMING_SNAKE_CASE		)				->					bool:
     """simple docstring"""




     return sum(i for i in range(1				,  number // 2 + 1		) if number % i == 0		) == number


if __name__ == "__main__":
 print('Program to check whether a number is a Perfect number or not...')
 SCREAMING_SNAKE_CASE_      =			int(input('Enter number: ').strip())
 print(f"""{number} is {"" if perfect(number) else "not "}a Perfect Number.""")










'''simple docstring'''







SCREAMING_SNAKE_CASE_      =			0  # The first color of the flag.
SCREAMING_SNAKE_CASE_      =			1  # The second color of the flag.
SCREAMING_SNAKE_CASE_      =			2  # The third color of the flag.
SCREAMING_SNAKE_CASE_      =			(red, white, blue)




def        __lowercase						(      __SCREAMING_SNAKE_CASE		)				->					list:
     """simple docstring"""




     if not sequence:
          return []
     if len(__SCREAMING_SNAKE_CASE		) == 1:
          return list(__SCREAMING_SNAKE_CASE		)
     __a       =   0
     __a       =   len(__SCREAMING_SNAKE_CASE		) - 1
     __a       =   0
     while mid <= high:
          if sequence[mid] == colors[0]:
               __a ,						__a       =   sequence[mid], sequence[low]
               low += 1
               mid += 1
          elif sequence[mid] == colors[1]:
               mid += 1
          elif sequence[mid] == colors[2]:
               __a ,						__a       =   sequence[high], sequence[mid]
               high -= 1
          else:
               __a       =   F'''The elements inside the sequence must contains only {colors} values'''
               raise ValueError(__SCREAMING_SNAKE_CASE		)
     return sequence


if __name__ == "__main__":
 import doctest

 doctest.testmod()

 SCREAMING_SNAKE_CASE_      =			input('Enter numbers separated by commas:\n').strip()
 SCREAMING_SNAKE_CASE_      =			[int(item.strip()) for item in user_input.split(',')]
 print(f"""{dutch_national_flag_sort(unsorted)}""")






