for n in 1..10000 puts n if perf(n) end