

'''simple docstring'''







import re
def       UpperCAmelCase__    (      UpperCAmelCase__				)			->			Tuple:
       A_						=      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(UpperCamelCase__,       UpperCamelCase__				)				)


if __name__ == "__main__":
      __lowerCamelCase		       =    """0094702343221"""

      print(is_sri_lankan_phone_number(phone))



'''simple docstring'''







def       UpperCAmelCase__    (      UpperCAmelCase__				)			->			bool:
       if num < 0:
              return False

       A_						=      num
       A_						=      0
       while num > 0:
              A_						=      rev_num * 10 + (num % 10)
              num //= 10

       return num_copy == rev_num


if __name__ == "__main__":
      import doctest

      doctest.testmod()
