Fast Enterprises interview question

Write pseudocode to find the first 100 primes, 9 marble riddle, SQL joins.