Where I am going wrong??
package com.codegym.task.task04.task0428;
/*
Positive number
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
BufferedReader r = new BufferedReader(new InputStreamReader (System.in));
String a = r.readLine();
String b = r.readLine();
String c = r.readLine();
int a1 = Integer.parseInt(a);
int b1 = Integer.parseInt(b);
int c1 = Integer.parseInt(c);
if(a1<0){
if(b1<0 && c1>0){
System.out.println(1);
}
else
System.out.println(1);
}
else if(a1>0){
System.out.println(2);
}
else if(a1<=0 && b1<=0 && c1<=0){
System.out.println(0);
}
else
System.out.println(3);
}
}