import re
def       __magic_name__(  __UpperCAmelCase		)						->    Any:



      '''simple docstring'''

      _lowerCamelCase			    =				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__":
     snake_case__				= """0094702343221"""

     print(is_sri_lankan_phone_number(phone))


def       __magic_name__(  __UpperCAmelCase ,						__UpperCAmelCase		)						->    str:



      '''simple docstring'''

      _lowerCamelCase			    =				0
      while b > 0:
            if b & 1:
                  res += a

            a += a
            b >>= 1

      return res
def       __magic_name__(  __UpperCAmelCase ,						__UpperCAmelCase ,						__UpperCAmelCase		)						->    Optional[Any]:



      '''simple docstring'''

      _lowerCamelCase			    =				0
      while b > 0:
            if b & 1:
                  _lowerCamelCase			    =				((res % c) + (a % c)) % c

            a += a
            b >>= 1

      return res