SP12943 RIOI_3_2 - Counting

Description

Given integers **N** and **M**, output in how many ways you can take **N** **distinct** positive integers such that sum of those integers is

Input Format

First line of input is number **t**, number of test cases. Each test case consists only of 2 numbers N and M, in that order.

Output Format

Output number aksed in description.