What's wrong with my code. It won't seem to read.
package com.codegym.task.task06.task0606;
import java.io.*;
/*
Even and odd digits
*/
public class Solution {
public static int even;
public static int odd;
public static void main(String[] args) throws IOException {
//write your code here
BufferedReader = new BufferedReader(new InputStreamReader(System.in));
int a = Integer.parseInt(reader.readLine());
while (a > 0) {
if (a % 2 = 0) {even ++;
}
else if (a % 2 != 0) {odd++;
}
}
}
}