Ensure that you are logged in and have the required permissions to access the test.
An array is called good if every element of the array is an even integer.
You are given an array A of length N. In one move, you can do one of the following operations:
Find the minimum number of moves needed to make array A good.
Input format
Output format
For each test case, print the minimum number of moves needed to make array A good.
Constraints
1≤T≤1042≤N≤1051≤Ai<230SumofNoveralltestcasesdoesnotexceed2⋅105.
Test Case 1: One possible sequence of moves is:
Test Case 2: