if( a > 0){
int count = 1;
if( b > 0){
count++;
}else if(c > 0){
count++;
}
System.out.println(count);
}
if( a <= 0){
int count = 0;
if( b > 0){
count++;
}else if(c > 0){
count++;
}
System.out.println(count);
}

package com.codegym.task.task04.task0428;
/*
Positive number
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
int a = Integer.parseInt(reader.readLine());
int b = Integer.parseInt(reader.readLine());
int c = Integer.parseInt(reader.readLine());
if( a > 0){
int count = 1;
if( b > 0){
count++;
}else if(c > 0){
count++;
}
System.out.println(count);
}
if( a <= 0){
int count = 0;
if( b > 0){
count++;
}else if(c > 0){
count++;
}
System.out.println(count);
}
}
}