CF261D Maxim and Increasing Subsequence

Description

Maxim loves sequences, especially those that strictly increase. He is wondering, what is the length of the longest increasing subsequence of the given sequence $ a $ ? Sequence $ a $ is given as follows: - the length of the sequence equals $ n×t $ ; - ![](https://cdn.luogu.com.cn/upload/vjudge_pic/CF261D/62550b81a494c59fe3493af08329ebf8f9d7bb9b.png) $ (1

Input Format

The first line contains four integers $ k $ , $ n $ , $ maxb $ and $ t $ $ (1

Output Format

Print $ k $ integers — the answers for the variants of the sequence $ a $ . Print the answers in the order the variants follow in the input.