Number of Subsequences That Satisfy the Given Sum Condition — CaffeCode