



"""simple docstring"""




def 	lowercase__  (      _UpperCAmelCase = 10_00					)  ->      int:






      '''simple docstring'''


      lowercase	:   Optional[int]											= 0
      for i in range(_UpperCAmelCase					):
            if i % 3 == 0 or i % 5 == 0:
                  result += i
      return result


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





"""simple docstring"""




def 	lowercase__  (      )  ->      Any:






      '''simple docstring'''


      lowercase	:   Dict											= 1

      while True:
            if (
                sorted(str(_UpperCAmelCase					)					)
                == sorted(str(2 * i					)					)
                == sorted(str(3 * i					)					)
                == sorted(str(4 * i					)					)
                == sorted(str(5 * i					)					)
                == sorted(str(6 * i					)					)
            ):
                  return i

            i += 1


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