It turns up the right answer with everything i tried but is still not fulfilling all requirements, help please?

package com.codegym.task.task04.task0429;
/*
Positive and negative numbers
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader read = new BufferedReader(new InputStreamReader(System.in));
String x = read.readLine();
int a = Integer.parseInt(x);
String y = read.readLine();
int b = Integer.parseInt(y);
String z = read.readLine();
int c = Integer.parseInt(z);
int p = 0;
int n = 0;
if(a > 0)
p++;
if(b > 0)
p++;
if(c > 0)
p++;
if(a < 0)
n++;
if(b < 0)
n++;
if(c < 0)
n++;
System.out.println("Number of negative number: " + n);
System.out.println("Number of positive numbers: " + p);
}
}

s"numbers"