Problems
512 - Print Alphabets
SUBMIT PROBLEM

Print Alphabets

Time Limit: 1 sec

 

The Problem

Mr. Professor was taking his class. He gave an integer number N to his class and asked students to write a – N number alphabet

 

Example

Given number, 5

Result

a b c d e

 

The Input

The input file contains several lines. Each line contains a single integer N (0 <= N <= 26). Input is terminated by EOF.

 

The Output

For each line of input print a – N number alphabets and for 0 print “0” in a separate line. There is an extra space at the end of line.

 

Sample Input

3

5

 

Sample Output

a b c

a b c d e

 

 

 

Problem Setter: Samia Safa Ahmed