Question d’entretien chez Sabre

Write an algorithm printing N first prime numbers.