Data transmitted on a link uses the following 2D parity scheme for error detection:
Each sequence of 28 bits is arranged in a 4×7 matrix (rows r0 through r3, and columns d7 through d1) and is padded with a column d0 and row r4 of parity bits computed using the Even parity scheme. Each bit of column d0 (respectively, row r4) gives the parity of the corresponding row (respectively, column). These 40 bits are transmitted over the data link.
r0r1r2r3r4d701001d611011d500010d410100d301010d201101d111011d010000
The table shows data received by a receiver and has n corrupted bits. What is the minimum possible value of n?