ary = []
["0", "1", "2", "3", "3", "4", "5", "5", "6", "7", "8", "9"].map{|e| e.to_i}.permutation(12).each do |e|
	ary << Math.cbrt(e.join.to_i)
end

p ary.select{|e| e == e.to_i}
