




def       lowerCAmelCase_      (	lowerCamelCase:							int = 10_00    )       ->      int:


      '''simple docstring'''




      lowerCamelCase__   	=					0
      lowerCamelCase__   	=					(n - 1) // 3
      total += ((terms) * (6 + (terms - 1) * 3)) // 2  # total of an A.P.
      lowerCamelCase__   	=					(n - 1) // 5
      total += ((terms) * (10 + (terms - 1) * 5)) // 2
      lowerCamelCase__   	=					(n - 1) // 15
      total -= ((terms) * (30 + (terms - 1) * 15)) // 2
      return total


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





def       lowerCAmelCase_      (	lowerCamelCase:							str    )       ->      int:


      '''simple docstring'''




      lowerCamelCase__   	=					53_81
      for x in s:
            lowerCamelCase__   	=					((hash_value << 5) + hash_value) + ord(lowerCamelCase    )
      return hash_value & 0Xffff_ffff