We number both the rows and the columns of an 8 × 8 chess-board with the numbers 1 to 8. A number of grains are placed onto each square, in such a way that the number of grains on a certain square equals the product of its row and column numbers. How many grains are there on the entire chessboard?