Idk what is wrong

package com.codegym.task.task04.task0429;
/*
Positive and negative numbers
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
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 count = 0;
int ncount = 0;
if (a > 0)
{
count++;
}
else {
ncount++;
}
if (b > 0)
{
count++;
}
else {
ncount++;
}
if (c > 0)
{
count++;
}
else {
ncount++;
}
System.out.println("Number of negative numbers: " + ncount);
System.out.println("Number of positive numbers: " + count);
}
}