Буду благодарен за объяснение того, где я допускаю ошибку в этой задаче
package com.javarush.task.task04.task0428;
/*
Положительное число
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader pop = new BufferedReader(new InputStreamReader(System.in));
String A = pop.readLine();
String B = pop.readLine();
String C = pop.readLine();
int a = Integer.parseInt(A);
int b = Integer.parseInt(B);
int c = Integer.parseInt(C);
int colvo = 0;
if (a>0)
colvo++;
if (b>0)
colvo++;
if (c>0)
colvo++;
System.out.println(colvo);
if ((a<=0) && (b<=0) && (c<=0))
System.out.println("0");
}
}