Given a non-negative number N, the number of array elements (N<=100)
Fill the array with the first natural four-digit numbers whose sum of even digits is greater than the sum of odd ones
Sample Input and Output
Test No. |
Input data |
Imprint |
1 |
5 |
1002 1004 1006 1008 1014 |