Logic: 1. Check out sum of every column => It is either in form of 3N or 3N+1. 2. Then convert it into decimals.