def solve():
bigList = []
resultList = []
for a in range(1,10)[::-1]:
for b in range(1,10):
for c in range(1,10):
if a+b/c == 10:
bigList.append([a,b,c])
for i in bigList:
sort = sorted(i)
reverse = sort[::-1]
resultList.append(reverse)
print(resultList)
solve()