import java.util.Scanner;
public class DisplayNNumbers
{
public static void main(String[] args)
{
Scanner sc=new Scanner(System.in);
System.out.println("Enter How many Numbers do you want");
int num=sc.nextInt();
for(int i=1;i<=num;i++)
{
System.out.print(i+" ");
}
}
}
public class DisplayNNumbers
{
public static void main(String[] args)
{
Scanner sc=new Scanner(System.in);
System.out.println("Enter How many Numbers do you want");
int num=sc.nextInt();
for(int i=1;i<=num;i++)
{
System.out.print(i+" ");
}
}
}