Input:

Max value of Rows & Columns:

Combined Total:

Available Combinations: