You are given an array of length . You are asked queries. Each query is of the form , and the answer is the sum of for all such that and .
Print an array of length such that is the answer to the query.
Input format
Output format
For each test case, print an array of length separated by space such that is the answer to the query in a new line.
Constraints
For test case :
For test case :