Types: N: int, M: int, K: int
Ranges: 1 ≤ N, M ≤ 2000, 2 ≤ K ≤ 2000
Addtl Info: N + M - 1 is divisible by K - 1