I cant figure out what it is that I am doing wrong. I cant pass the condition the program should display the number of positive numbers in the original set.

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 reader = new BufferedReader(new InputStreamReader(System.in));
int x = Integer.parseInt(reader.readLine());
int y = Integer.parseInt(reader.readLine());
int z = Integer.parseInt(reader.readLine());
if(x>0){
if(y<=0 && z <= 0){
System.out.println(1);
}
else if(y<=0 && z>0 ) {
System.out.println(2);
}
else if(y>0 && z>0 ){
System.out.println(3);
}
}
else if (x<=0){
if(y<=0 && z <=0){
System.out.println(0);
}
else if(y<=0 && z>0 ) {
System.out.println(1);
}
else if(y>0 && z>0 ){
System.out.println(2);
}
}
else if(y>0){
if(x<=0 && z <=0){
System.out.println(1);
}
else if(x<=0 && z>0 ) {
System.out.println(2);
}
else if(x>0 && z>0 ){
System.out.println(3);
}
}
else if(y<=0){
if(x<=0 && z <= 0){
System.out.println(0);
}
else if(x<=0 && z>0 ) {
System.out.println(1);
}
else if(x>0 && z>0){
System.out.println(2);
}
}
else if(z>0){
if(x<=0 && y<= 0){
System.out.println(1);
}
else if(x<=0 && y>0 ) {
System.out.println(2);
}
else if(x>0 && y>0 ){
System.out.println(3);
}
}
else if(z<=0){
if(x<=0 && y<=0){
System.out.println(0);
}
else if(x<=0 && y>0 ) {
System.out.println(1);
}
else if(x>0 && y>0 ){
System.out.println(2);
}
}
}
}