minor minor
use prime.rb
use flat_map