import java.util.*;
class primeno_1to100
{
public static void main(String args[])
{
Scanner sc=new Scanner(System.in);
int c;
System.out.println("1 to 100 prime no are");
for(int i=1;i<=100;i++)
{
c=0;
for(int j=1;j<=i;j++)
{
if(i%j==0)
c++;
}
if(c==2)
System.out.print(i+" ");
}
}
}
class primeno_1to100
{
public static void main(String args[])
{
Scanner sc=new Scanner(System.in);
int c;
System.out.println("1 to 100 prime no are");
for(int i=1;i<=100;i++)
{
c=0;
for(int j=1;j<=i;j++)
{
if(i%j==0)
c++;
}
if(c==2)
System.out.print(i+" ");
}
}
}