'''simple docstring'''






def    __UpperCAmelCase			(  a_:       int							):
   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...')
     __a										=					int(input('Enter number: ').strip())
     print(f'{number} is {"" if perfect(number) else "not "}a Perfect Number.')




"""simple docstring"""
import re
def    A_  (			_lowercase	):







						'''simple docstring'''


						snake_case_ :Optional[int]						=			re.compile(
						    r"""^(?:0|94|\+94|0{2}94)""" r"""7(0|1|2|4|5|6|7|8)""" r"""(-| |)""" r"""\d{7}$"""	)

						return bool(re.search(_lowercase,					_lowercase	)	)


if __name__ == "__main__":
						__a      =				"0094702343221"

						print(is_sri_lankan_phone_number(phone))
