Shameimaru Aya(しゃめいまる·あや) likes to photograph others secretly. So she plans to set some photo point in the map.
Once she has set all the photo point, she have to sign out it.
Every coordinate of the map have to sign out the number of photo point nearby. The word "nearby" means the 9-cell matrix with the point in the center.
You can see the image below:
(The left top point is (0, 0)).
Your task is to help Shameimaru to sign out every cell in the map. (Except the photo point)
For each case, output the map after signing. Leave a single line between each case.
1*1---
111---
-111--
-1*1--
1221--
1*1---