DWITE Contest

Test Case for Question #2 in DWITE 2012-2013 High School Round 1

Contest: DWITE 2012-2013 High School Round 1
Question: #2
Input File: DATA2.txt
Output File: OUT2.txt


Input

0 2
9 91
28 72
88 12
2 0




Output

..........
..........
**........
********..
**********