Sabre Interview Question

Write an algorithm printing N first prime numbers.