I can't found mistake in my code. I can't pass the last point of the task. Please help me. Thx in advance
package pl.codegym.task.task07.task0706;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
/*
Ulice i domy
*/
public class Solution {
public static void main(String[] args) throws Exception {
//tutaj wpisz swój kod
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
int tab15[] = new int[15];
int even = 0;
int odd = 0;
for (int i = 0; i < tab15.length; i++) {
String s = reader.readLine();
tab15[i] = Integer.parseInt(s);
}
for (int i = 0; i < tab15.length; i++) {
if (tab15[i] % 2 == 0)
even++;
else
odd++;
}
if (even > odd)
System.out.println("Więcej ludzi mieszka w domach o parzystych numerach.");
else //if (even < odd)
System.out.println("Więcej ludzi mieszka w domach o nieparzystych numerach.");
}
}