I do not understand why I get an error in the line
if (arr[i] %2 == o){
package com.codegym.task.task07.task0706;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Solution {

    public static void main(String[] args) throws Exception {

        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        int even = 0;
        int odd = 0;
        int[] arr = new int[15];

        for (int i=0; i<15; i++){
            arr[i]=Integer.parseInt(reader.readLine());
            if (arr[i] %2 == o){
                even += even;
            }
            else {
                odd += odd;
            }
        }
        if (even > odd){
            System.out.println("Even-numbered houses have more residents.");
        }
        else{
            System.out.println("Odd-numbered houses have more residents.");
        }
    }
}