Problem1037--Time

1037: Time

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description



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.

Sample Input Copy

1 2 5 6
2 3 4 2

Sample Output Copy

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

HINT

The digits showed by the digital clock are as follows:
   _  _     _  _  _  _  _  _ 
 | _| _||_||_ |_   ||_||_|| |
 ||_  _|  | _||_|  ||_| _||_|

Source/Category

  2010