Whats the problem with this code? Thanks!
package com.codegym.task.task07.task0706;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.*;
/*
Streets and houses
*/
public class Solution {
public static void main(String[] args) throws Exception {
Scanner s = new Scanner(System.in);
int even = 0;
int sumEven = 0;
int odd = 0;
int sumOdd = 0;
int [] arr = new int [15];
for (int i = 0; i < arr.length; i++) {
arr[i] = s.nextInt();
if (arr[i] %2 == 0 || arr[i] == 0) {
even++;
}
else {
odd++;
}
}
if (odd > even) {
System.out.println("Odd-numbered houses have more residents.");
}
else if (even > odd) {
System.out.println("Even-numbered houses have more residents.");
}
}
}