why it is not working??

package com.codegym.task.task04.task0429;
/*
Positive and negative numbers
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
int n = 1;
int m = -1;
BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
int a = Integer.parseInt(r.readLine());
int b = Integer.parseInt(r.readLine());
int c = Integer.parseInt(r.readLine());
if(a >= 1 && b >= 1 && c >= 1)
{
n = 3;
m = 0;
}
else
if((a >= 1 && b >= 1 && c <= -1) ||(a >= 1 && b <= -1 && c >= 1)||(a <= -1 && b >= 1 && c >= 1))
{
n = 2;
m = 1;
}
else
if((a >= 1 && b <= -1 && c <= -1)||(a <= -1 && b <= -1 && c >= 1)||(a <= -1 && b >= 1 && c <= -1))
{
n = 1;
m = 2;
}
else
if(a <= -1 && b <= -1 && c <= -1)
{
n = 0;
m = 3;
}
else{
n = 0;
m = 0;
}
System.out.println("Number of negative numbers: " + m);
System.out.println("Number of positive numbers: " + n);
//write your code here
}
}