package example;
import java.util.Scanner;
public class Textzhishu {
public static void main(String args[]){
Scanner a = new Scanner(System.in);
while(a.hasNext()){
int m = a.nextInt();
int n = a.nextInt();
int x = m;
int t;
for (x = m; x <= n; x++) {
for (int i = 2; i <= x; i++) {
t = x % i;
if (t == 0) {
if(x==i){
import java.util.Scanner;
public class Textzhishu {
public static void main(String args[]){
Scanner a = new Scanner(System.in);
while(a.hasNext()){
int m = a.nextInt();
int n = a.nextInt();
int x = m;
int t;
for (x = m; x <= n; x++) {
for (int i = 2; i <= x; i++) {
t = x % i;
if (t == 0) {
if(x==i){