

def 			__UpperCamelCase    (lowerCAmelCase					:  int = 1_000     )     ->  int:
      A    =				0
      A    =				0
      while 1:
            num += 3
            if num >= n:
                  break
            total += num
            num += 2
            if num >= n:
                  break
            total += num
            num += 1
            if num >= n:
                  break
            total += num
            num += 3
            if num >= n:
                  break
            total += num
            num += 1
            if num >= n:
                  break
            total += num
            num += 2
            if num >= n:
                  break
            total += num
            num += 3
            if num >= n:
                  break
            total += num
      return total


if __name__ == "__main__":
  print(F'''{solution() = }''')






from ..utils import requires_backends


_UpperCAmelCase    	=			None



class        _UpperCAmelCase :
  '''simple docstring'''







  def __init__( self	: List[str]		,						*UpperCamelCase__	: str		,						**UpperCamelCase__	: Any ):
        requires_backends(self		,						['detectron2'] )







  @classmethod
  def 	UpperCamelCase       ( cls	: Dict		,						*UpperCamelCase__	: Tuple		,						**UpperCamelCase__	: List[Any] ):
        requires_backends(cls		,						['detectron2'] )



