в консоли все корректно выводит, но проверку не проходит по "0". помогите разобраться что я не учел?
package com.javarush.task.task04.task0429;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/*
Положительные и отрицательные числа
*/
public class Solution {
public static void main(String[] args) throws Exception {
//напишите тут ваш код
BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));
int a=Integer.parseInt(reader.readLine());
int b=Integer.parseInt(reader.readLine());
int c=Integer.parseInt(reader.readLine());
int positiveCount=0;
int negativeCount=0;
if (a>0) positiveCount++;
else if (a<0) negativeCount++;
else return;
if (b>0) positiveCount++;
else if (b<0) negativeCount++;
else return;
if (c>0) positiveCount++;
else if (c<0) negativeCount++;
else return;
System.out.println("количество отрицательных чисел: "+negativeCount);
System.out.println("количество положительных чисел: "+positiveCount);
}
}