from abc import ABC, abstractmethod
from argparse import ArgumentParser



class  UpperCamelCase				( __lowercase ):

     '''simple docstring'''

     @staticmethod
     @abstractmethod
     def 		UpperCamelCase_						(					A_						) ->				Union[str, Any]:






           """simple docstring"""
           raise NotImplementedError()





     @abstractmethod
     def 		UpperCamelCase_						(					self						) ->				str:






           """simple docstring"""
           raise NotImplementedError()


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