Fast Enterprises Interview Question

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