input: Write a python function to calculate the minimum number of coins required for a given amount using denominations of 1, 5, and 10.
  assert numberOfCoins(15) == 2
  assert numberOfCoins(28) == 6
  assert numberOfCoins(3) == 3
output: def numberOfCoins(amount):
      coins = 0
      for denomination in [10, 5, 1]:
          coins += amount // denomination
          amount %= denomination
      return coins