


def    _UpperCAmelCase	(   __lowerCamelCase = 1000       )		->int:


 '''simple docstring'''
 snake_case   : Dict	  =      0
 for i in range(__lowerCamelCase       ):
  if i % 3 == 0 or i % 5 == 0:
   result += i
 return result


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










from itertools import permutations






def    _UpperCAmelCase	(   )		->str:


 '''simple docstring'''
 snake_case   : Any	  =      list(map(''''''.join ,     permutations('''0123456789'''       )       )       )
 return result[999999]


if __name__ == "__main__":
  print(solution())






