human
Minimum number of points required to cover all blocks of a 2 | Function to find the minimum number of Points required to cover a grid.
If number of block is even.
Return the minimum points.
Driver code.
Given size of grid.
Function call"
Solution in Python:

=====
Write me a code to minimum number of points required to cover all blocks of a 2 and the other steps required?
assistant
#Here is code to minimum number of points required to cover all blocks of a 2 and the other steps required.
 def minPoints ( n , m ) :
	ans = 0
	if ( ( n % 2 != 0 ) and ( m % 2 != 0 ) ) :
		ans = ( ( n * m ) // 2 ) + 1
	else :
		ans = ( n * m ) // 2
	return ans
if __name__ == ' _ _ main _ _ ' :
	N = 5
	M = 7
	print ( minPoints ( N , M ) )