eolymp
bolt
Try our new interface for solving problems
Problems

Alphabetic graffiti

Alphabetic graffiti

\includegraphics{https://static.e-olymp.com/content/ac/ac63adb176fb0adeb0329a89cf01f466bf000b30.gif} Graffiti - a form of modern barbaric painting. Vasya, as should be worthy descendants of the barbarians, also decided to address this very promising in terms of its business and to perpetuate their stay in school graffiti graffiti. Since, by drawing from Vasey had a solid "two", and he was still learning English after studying quite hard which gave him the pronunciation of the third letter of the alphabet, he decided to immortalize their meal in a study of this once difficult for him the object map of each stage connected with the study of the next letter corresponding to the inscription on a school wall. Artistic research Vasey after studying the \textbf{3}-th and \textbf{7}-th letters shown in the example output. Since every step to make the correct label Basil was getting harder and harder to write a program that will help him make a cheat sheet for the application of another pattern. \InputFile The only number \textbf{N} (\textbf{3} ≤ \textbf{N} ≤ \textbf{26}) - number of studied English letters. \OutputFile The inscription on the wall, made after examining Vasya \textbf{N} letters of the alphabet.
Time limit 1 second
Memory limit 64 MiB
Input example #1
3
Output example #1
a  a
a ab
aabc

Example description: Points in the sample marked spaces for the convenience of calculation, as with mathematics, respectively, at Vasey also had a problem ... :)

Source Stage II All-Ukrainian Olympiad 2010-2011 Berdichev