DWITE Contest

Test Case for Question #4 in DWITE 2009-2010 High School Round 3

Contest: DWITE 2009-2010 High School Round 3
Question: #4
Input File: DATA4.txt
Output File: OUT4.txt


Input

4
5
6
9
12




Output

.4
03
12
54
03
12
654
.03
.12
654
703
812
9..
654.
703.
812.
9101112