delete unnecessary list(prime_num)