Given the task definition and input, reply with output. The task is to generate the correct answer for a given math problem.

Problem: how many different positive integers exist between 10 ^ 3 and 10 ^ 4 , the sum of whose digits is equal to 2 ?
4