Question
Alternate Square Boxes
You are given an integer n. Output a 2n×2n checkerboard made of 2×2 squares alternating '*' and '.', with the top-left cell being '*'.
Input
An integer, n ( 1 <= n <= 15)
Output
Output the 2n X 2n square.
Example
Input 1
2

Output 1
**..
**..
..**
..**


Input 2
3

Output 2
**..**
**..**
..**..
..**..
**..**
**..**

Input 3
3

Output 3
**..**..
**..**..
..**..**
..**..**
**..**..
**..**..
..**..**
..**..**

Online