SP1451 SEQ1 - 01 Sequence

Description

The input consists of exactly 5 test cases in the following format:

Input Format

``` N A0 B0 L0 A1 B1 L1 [3

Output Format

Exactly 5 lines,each contains: a) A N-character sequence (We name it S) consisting of only characters '0' and '1' and no extra whitespaces, which satisfy the following conditions: - The number of '0' in any consecutive subsequence of S whose length is L0 is not more than B0 and not less than A0. - The number of '1' in any consecutive subsequence of S whose length is L1 is not more than B1 and not less than A1.