Postnet ------- The US postal service uses the postal numeric encoding technique, PostNET for short, to encode zipcodes on envelopes. The zip code is made up of five to nine digits. Each digit is represented by a sequence of five bars: three short bars and two long ones. For convenience, we will use colon and pipe characters to represent short and long bars, respectively. The code is constructed as follows: two long bars, called the frame bars, surround the code and are used to align the code reader with the code. The five bars corresponding to each digit are shown below. 0 ||::: 1 :::|| 2 ::|:| 3 ::||: 4 :|::| 5 :|:|: 6 :||:: 7 |:::| 8 |::|: 9 |:|:: The encoded digits are followed by a correction digit, called the check digit, and it is used to detect reading errors. Its value is chosen so that the sum of all digits in the code, including the check digit, is divisible by ten. Input ----- The input consists of multiple test cases. Each test case consists of one line. Each test case consists of five to nine digits. The input ends with a 0 (this case should not be considered). Output ------ For each test case, the output should consist of exactly one line containing the encoding of the five to nine digits. Sample input ------------ 61181 61820 321456 0 Sample output ------------- |:||:::::||:::|||::|::::||::||:| |:||:::::|||::|:::|:|||:::::||:| |::||:::|:|:::||:|::|:|:|::||::|:|::|