// Arup Guha
// 10/28/2017
// Solution to Junior Knights Loop Practice Program: New Year's Countdown

import java.util.*;

public class newyears {
	
	public static void main(String[] args) {
		
		// Get the # of times to repeat.
		Scanner stdin = new Scanner(System.in);
		System.out.println("How many times seconds do you want in your countdown?");
		int n = stdin.nextInt();
		
		// Go backwards by subtracting 1 from i each time...
		for (int i=n; i>0; i--)
			System.out.print(i+" ");
		System.out.println();
		System.out.println("Happy New Year!!!");
	}
}