wheat and chessboard problem

Input interpretation

wheat and chessboard problem