Что он хочет
package com.javarush.task.task04.task0428;
/*
Положительное число
*/
import java.io.*;
import java.util.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader read = new BufferedReader(new InputStreamReader(System.in));
int a = Integer.parseInt(read.readLine());
int b = Integer.parseInt(read.readLine());
int c = Integer.parseInt(read.readLine());
int d = 0;
boolean g = (a<d && b<d && c>d);
boolean h = (a<d && b<d && c<d);
boolean k = (a>d && b>d && c<d);
boolean l = (a>d && b>d && c>d);
if(g){System.out.println(1);}
else if(h){System.out.println(d);}
else if(k){System.out.println(2);}
else if(l){System.out.println(3);}
}
}package com.javarush.task.task04.task0428;
/*
Положительное число
*/
import java.io.*;
import java.util.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader read = new BufferedReader(new InputStreamReader(System.in));
int a = Integer.parseInt(read.readLine());
int b = Integer.parseInt(read.readLine());
int c = Integer.parseInt(read.readLine());
int d = 0;
boolean h = (a<d && b<d && c<d);
boolean g = (a<d && b<d && c>d);
boolean k = (a>d && b>d && c<d);
boolean l = (a>d && b>d && c>d);
if(g){System.out.println(1);}
else if(h){System.out.println(d);}
else if(k){System.out.println(2);}
else if(l){System.out.println(3);}
}
}