Count how many ways a positive integer N (1≤N≤2000) can be written as a sum of distinct natural numbers.
One way obeys all of the following.
Given N, write a program that counts the ways.
The first line has the number of test cases T (1≤T≤20). Each of the next T lines has one N.
For each test case, print the number of ways to write N as a sum of distinct natural numbers modulo 100999, one per line, in input order.