(0..10000).findAll { isPerfect(it) }.each { println it }