- The input will have m+1 lines
- The first m lines will have n+1 space seperated integers
- Each of these m lines represent one row of the partially solved input board (n integers), followed by the required row sum (a single integer)
- The last line of the input will have n spaces seperated integers each of which represents the required column sum in the solved board