Checkerboard
Given two positive integers m and n, print an m x n checkerboard using * and . characters. Row and column indices start from 1.
Input
- One line containing two positive integers m and n.
Output
- Print * if the sum of the row index and column index is even; otherwise print ..
Constraints
- 1 <= m, n <= 100
Example
Input
4 6
Output
*.*.*.
.*.*.*
*.*.*.
.*.*.*
Comments