






import math







def 		SCREAMING_SNAKE_CASE							( __lowerCAmelCase      )			->     str:
     UpperCamelCase__      :       List[Any]	    =  0
     UpperCamelCase__      :       str	    =  0
     while num > 0:
          UpperCamelCase__      :       int	    =  num % 8
          UpperCamelCase__      :       Any	    =  octal + (remainder * math.floor(math.pow(10 ,   __lowerCAmelCase      )      ))
          counter += 1
          UpperCamelCase__      :       List[str]	    =  math.floor(num / 8      )  # basically /= 8 without remainder if any
          # This formatting removes trailing '.0' from `octal`.
     return f'0o{int(__lowerCAmelCase      )}'







def 		SCREAMING_SNAKE_CASE							( )			->     None:
     print("\n2 in octal is:"      )
     print(decimal_to_octal(2      )      )  # = 2
     print("\n8 in octal is:"      )
     print(decimal_to_octal(8      )      )  # = 10
     print("\n65 in octal is:"      )
     print(decimal_to_octal(65      )      )  # = 101
     print("\n216 in octal is:"      )
     print(decimal_to_octal(216      )      )  # = 330
     print("\n512 in octal is:"      )
     print(decimal_to_octal(512      )      )  # = 1000
     print("\n"      )


if __name__ == "__main__":
  main()







import re







def 		SCREAMING_SNAKE_CASE							( __lowerCAmelCase      )			->     bool:
     UpperCamelCase__      :       Union[str, Any]	    =  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(__lowerCAmelCase ,   __lowerCAmelCase      )      )


if __name__ == "__main__":
 lowerCamelCase     :							Union[str, Any]    ='''0094702343221'''

 print(is_sri_lankan_phone_number(phone))