I gave input numbers it working properly, but showing error as not satisfied all conditions

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));
String s = reader.readLine();
int a = Integer.parseInt(s);
String s1 = reader.readLine();
int b = Integer.parseInt(s1);
String s2 = reader.readLine();
int c = Integer.parseInt(s2);
int count =0, n=0;
if(a>0)
{
count++ ;
} if(a<0)
{
n++;
}
if(b>0)
{
count++ ;
}
if(b<0)
{ n++;
}
if(c>0)
{
count++;}
if(c<0){
n++;
}
System.out.println("Number of negative numbers:"+ n);
System.out.println("Number of positive numbers:"+ count);
}
}