for n=10,1e4 do x=(""..n):match"^9?8?7?6?5?4?3?2?1?0?$"and print(n)end