```
public class ChangeMoney {
public static HashMap<Integer, ArrayList<Integer>> cache= new HashMap<Integer, ArrayList<Integer>>();
public static void main(String[] args) {
int[] moneys = new int[]{1,2,5,10};
changeMoney(63,moneys);
while(true){
System.out.println("输入你想查找的找零数额:");
Scanner scan = new Scanner(System.in);
int totalMoney = scan.nextInt();
if(totalMoney == 0){
System.out.println("退