def SCREAMING_SNAKE_CASE			(       lowercase_:		int = 1000			):
       _UpperCamelCase       :    int					  =					0
       _UpperCamelCase       :    Optional[int]					  =					(n - 1) // 3
       total += ((terms) * (6 + (terms - 1) * 3)) // 2  # total of an A.P.
       _UpperCamelCase       :    int					  =					(n - 1) // 5
       total += ((terms) * (10 + (terms - 1) * 5)) // 2
       _UpperCamelCase       :    Any					  =					(n - 1) // 15
       total -= ((terms) * (30 + (terms - 1) * 15)) // 2
       return total


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




def SCREAMING_SNAKE_CASE			(       lowercase_:		int			):
       if not isinstance(lowercase_						,  lowercase_			):
              _UpperCamelCase       :    Optional[int]					  =					(
                  'operation can not be conducted on a object of type '
                  F"{type(lowercase_			).__name__}"
              )
              raise TypeError(lowercase_			)
       _UpperCamelCase       :    List[Any]					  =					''
       for _ in range(0						,  32			):
              bit_string += str(number % 2			)
              _UpperCamelCase       :    Dict					  =					number >> 1
       return bit_string


def SCREAMING_SNAKE_CASE			(       lowercase_:		int			):
       if number < 0:
              raise ValueError('the value of input must be positive'			)
       elif isinstance(lowercase_						,  lowercase_			):
              raise TypeError('Input value must be a \'int\' type'			)
       elif isinstance(lowercase_						,  lowercase_			):
              raise TypeError('\'<\' not supported between instances of \'str\' and \'int\''			)
       _UpperCamelCase       :    List[Any]					  =					0
       # iterator over [1 to 32],since we are dealing with 32 bit integer
       for _ in range(1						,  33			):
              # left shift the bits by unity
              _UpperCamelCase       :    Tuple					  =					result << 1
              # get the end bit
              _UpperCamelCase       :    List[Any]					  =					number % 2
              # right shift the bits by unity
              _UpperCamelCase       :    Dict					  =					number >> 1
              # add that bit to our ans
              _UpperCamelCase       :    int					  =					result | end_bit
       return get_reverse_bit_string(lowercase_			)


if __name__ == "__main__":
 import doctest

 doctest.testmod()



