def SCREAMING_SNAKE_CASE			(       lowercase_:		int = 1000			):
       _UpperCamelCase       :    List[Any]					  =					0
       for i in range(lowercase_			):
              if i % 3 == 0 or i % 5 == 0:
                     result += i
       return result


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




def SCREAMING_SNAKE_CASE			(       lowercase_:		list[int]			):

       # validate:
       if not isinstance(lowercase_						,  lowercase_			) or not all(
           isinstance(lowercase_						,  lowercase_			) and item >= 0 for item in citations			):
              raise ValueError('The citations should be a list of non negative integers.'			)

       citations.sort()
       _UpperCamelCase       :    List[str]					  =					len(lowercase_			)

       for i in range(lowercase_			):
              if citations[len_citations - 1 - i] <= i:
                     return i

       return len_citations


if __name__ == "__main__":
 import doctest

 doctest.testmod()



