Помогите плиз , намекните :-)
package com.javarush.task.jdk13.task04.task0441;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/*
Среднее такое среднее
*/
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());
int max = 0;
int min = 0;
int middle = 0;
if (a<=b && a<=c)
{
min = a;
}
else if (b<=a && b<=c){
min = b;
}
else if (c<=a && c<=b){
min = c;
}
if (a>=b && a>=c)
{
max = a;
}
else if (b>=a && b>=c){
max = b;
}
else if (c>=a && c>=b){
max = c;
}
if (max != a && min != a )
{
middle = a;
}
else if (max != b && min != b )
{
middle = b;
}
else if (max != c && min != c )
{
middle = c;
}
System.out.println(middle);
}
}
з блекджеком і шльондрамиint el1, el2, el3;