Pregunta de entrevista de Sabre

Write an algorithm printing N first prime numbers.