A number is an   attractive number   if the number of its prime factors (whether distinct or not) is also prime.



Example

The number   20,   whose prime decomposition is   2 × 2 × 5,   is an   attractive number   because the number of its prime factors   (3)   is also prime.



Task

Show sequence items up to   120.



Reference

   The OEIS entry:   A063989: Numbers with a prime number of prime divisors.


F is_prime(n)
   I n < 2
      R 0B
   L(i) 2 .. Int(sqrt(n))
      I n % i == 0
         R 0B
   R 1B
 
F get_pfct(=n)
   V i = 2
   [Int] factors
   L i * i <= n
      I n % i
         i++
      E
         n I/= i
         factors.append(i)
   I n > 1
      factors.append(n)
   R factors.len
 
[Int] pool
 
L(each) 0..120
   pool.append(get_pfct(each))
 
[Int] r
L(each) pool
   I is_prime(each)
      r.append(L.index)
 
print(r.map(String).join(‘,’))