






"""simple docstring"""



from abc import ABC, abstractmethod
from typing import Optional, Union

from .. import Dataset, DatasetDict, Features, IterableDataset, IterableDatasetDict, NamedSplit
from ..utils.typing import NestedDataStructureLike, PathLike

class        a     (   a_	):







    def __init__(			self							,		_lowerCamelCase = None							,		_lowerCamelCase = None							,		_lowerCamelCase = None							,		_lowerCamelCase = None							,		_lowerCamelCase = False							,		_lowerCamelCase = False							,		_lowerCamelCase = None							,		**_lowerCamelCase							,		):
      lowercase							    =       path_or_paths
      lowercase							    =       split if split or isinstance(_lowerCamelCase							,		_lowerCamelCase       ) else 'train'
      lowercase							    =       features
      lowercase							    =       cache_dir
      lowercase							    =       keep_in_memory
      lowercase							    =       streaming
      lowercase							    =       num_proc
      lowercase							    =       kwargs







    @abstractmethod
    def 			UpperCamelCase_      (			self       ):
      pass


class        a     (   a_	):







    def __init__(			self							,		_lowerCamelCase = None							,		_lowerCamelCase = None							,		_lowerCamelCase = False							,		_lowerCamelCase = False							,		_lowerCamelCase = None							,		**_lowerCamelCase							,		):
      lowercase							    =       features
      lowercase							    =       cache_dir
      lowercase							    =       keep_in_memory
      lowercase							    =       streaming
      lowercase							    =       num_proc
      lowercase							    =       kwargs







    @abstractmethod
    def 			UpperCamelCase_      (			self       ):
      pass










"""simple docstring"""



def 						_SCREAMING_SNAKE_CASE (    __snake_case			:  int    ):





  '''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...')
    _UpperCamelCase		:  Tuple						=		int(input('Enter number: ').strip())
    print(F'''{number} is {'' if perfect(number) else 'not '}a Perfect Number.''')


