先輸入一個變數N,用a,d的清單存入清單,再用for迴圈製作出能力值清單,用value.index(max(value))找出最大,再以pop移除該index在三個清單的位置,最後用value.index(max(value)),找出三個最大並print()。