Олимпиадный тренинг

Задача 38234. Simple list - 01


Write a program that searches among the integers belonging to the numerical interval [2385177; 2385437] prime numbers. Print all found prime numbers in ascending order, to the left of each number print its number in order (print each number with a number on a new line).