hi guys,
i am still very new so i am sorry if my way of thinking/code is wrong.
i am able to get this so that it displays the number of negative vs positive numbers however when verifying it is failing.
any help/advice would be appreciated.
thanks

package en.codegym.task.jdk13.task04.task0429;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/*
Positive and negative numbers
*/
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String first = reader.readLine();
String second = reader.readLine();
String third = reader.readLine();
int num1 = Integer.parseInt(first);
int num2 = Integer.parseInt(second);
int num3 = Integer.parseInt(third);
int negCount = 0;
int posCount = 0;
if (num1 > 0) posCount ++;
if (num1 < 0) negCount ++;
if (num2 > 0) posCount ++;
if (num2 < 0) negCount ++;
if (num3 > 0) posCount ++;
if (num3 < 0) negCount ++;
System.out.println("Number of negative numbers: " + negCount);
System.out.println("Number of Positive numbers: " + posCount);
}
}