#B4067. Digital Grid Representation

    ID: 11724 Type: Default 1000ms 256MiB

Digital Grid Representation

Digital Grid Representation

You are given a single digit n (where \(n \in \{0,1,2,3\}\)). Each digit is represented by a unique 5 \(\times\) 5 grid according to the designs below.

The representations are given in LaTeX style below:

For \(0\):
\[ \begin{array}{c} ..... \\ .***. \\ .***. \\ .***. \\ ..... \end{array} \]

For \(1\):
\[ \begin{array}{c} ****. \\ ****. \\ ****. \\ ****. \\ ****. \end{array} \]

For \(2\):
\[ \begin{array}{c} ..... \\ ****. \\ ..... \\ .**** \\ ..... \end{array} \]

For \(3\):
\[ \begin{array}{c} ..... \\ ****. \\ ..... \\ ****. \\ ..... \end{array} \]

Your task is to print the corresponding 5\(\times\)5 grid for the given digit.

inputFormat

The input consists of a single integer n (\(n \in \{0,1,2,3\}\)).

outputFormat

Output the 5 lines corresponding to the representation of digit n. Each line must contain exactly 5 characters.

sample

0
.....

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

</p>