游客 Signup | Login
中文 | En

2514 - Time

通过次数

0

提交次数

0

Time Limit : 1 秒 Memory Limit : 128 MB

Digital clock use 4 digits to express time, each digit is described by 3*3 characters (including”|”,”_”and” “).now given the current time, please tell us how can it be expressed by the digital clock.

Input

There are several test cases.

Each case contains 4 integers in a line, separated by space.

Proceed to the end of file.

Output

For each test case, output the time expressed by the digital clock such as Sample Output.

Examples

Input Format

1 2 5 6
2 3 4 2

Output Format

    _  _  _ 
  | _||_ |_ 
  ||_  _||_|
 _  _     _ 
 _| _||_| _|
|_  _|  ||_