## Big Chess

View as PDF

Points: 3
Time limit: 2.0s
Memory limit: 64M

Authors:
Problem type

Rahma has been getting really rusty at chess, so when some others asked to verse her online, she decided to make a program to play chess for her instead. Although, she's also rusty at programming, so she'll only be simulating the chessboard. Using 's and 's for black and white. Although, she also forgot the size of the chessboard, so she needs to make a program that generalizes all chessboard sizes, given any positive integer for the height and width.

#### Input Specification

The input will be two integers, the width and the height .

#### Output Specification

Output a checkerboard pattern with a width of and a height of . Let the top left square be a .

#### Sample Input 1

5
3

#### Sample Output 1

01010
10101
01010

#### Sample Input 2

6
4

#### Sample Output 2

010101
101010
010101
101010