I think that my code is correct. The codegym complier shows bugs
package pl.codegym.task.task04.task0429;
/*
Liczby dodatnie i ujemne
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));//tutaj wpisz swój kod
String a = in.readLine();
String b = in.readLine();
String c = in.readLine();
int aa = Integer.parseInt(a);
int bb = Integer.parseInt(b);
int cc = Integer.parseInt(c);//tutaj wpisz swój kod
int x = 0;
int y = 0;
if (aa>0){
x++;
}
else if (aa<0){
y++;
}
if (bb>0){
x++;
}
else if (bb<0){
y++;
}
if (cc>0){
x++;
}
else if (cc<0){
y++;
}
System.out.println("Liczba liczb ujemnych:" + y);
System.out.println("Liczba liczb dodatnich:" + x);
}
}