A tray lists signed tile values, including zero and negative values.
Task: Count the even values, including negative even values and zero.
Input format: n followed by n integers.
Output format: One integer: the count.
Constraints: 1 <= n <= 100000; -10^9 <= a[i] <= 10^9
Edge rules: Apply the stated zero, tie, boundary, and ordering conventions exactly.