Find the number of plays in which you lose consecutively less than or equal to k times.
The number of games is n.
Constraints: 0<=k<=n<=1e5
Example 1: n=3 , k=2
Output: 7
Explanation: (W here means win and L means lose)
WWW
WWL
WLW
LWW
LLW
WLL
LWL