the Sword of Gryffindor

Time Limit: 1000MS

Memory Limit: 65535K

Description

As we all known,the Sword of Gryffindor is the symbol of Gryffindor, which can help those students in Gryffindor who are brave enough when necessary. However, there are something must be tell you that, in goblins' world, they believe that who make the thing, who own it. Oneday, they conjured at the Sword so that it will be larger and larger when someone take it. What's more, the longer time you holdfor, the larger it will be. If you hold it for more than 5 seconds, it can crush everything.

Now, little Harry is curious about how large it can be, but obviously, as you are so kindand smart, you won't let Harry to run the risk. So please write a program to show large the Sword will be.

Input

The input consists of several lines, each line is an integer n (0 <= n <= 5), which means the time that someone hold the Sword.

The input file ends with EOF.

Output

The output show the Sword is like, corresponding to the input above.

Each case endswith "END"(without the quota).

Sample Input

0
1
2

Sample Output

+
END
 + 
+++
 + 
 + 
END
    +    
   +++   
    +    
    +    
 +  +  + 
+++++++++
 +  +  + 
 +  +  + 
    +    
   +++   
    +    
    +    
    +    
   +++   
    +    
    +    
END

Hint

None

Source

Tiantian

提交代码