что нетак помогите пожалуйсто
package com.javarush.task.task04.task0420;
/*
Сортировка трех чисел
*/
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());
int own = 0;
int too = 0;
int frie =0;
if (a >= b && a >= c)
own = a;
else if (b >= a && b >= c)
own = b;
else if (c >= a && c >= b)
own = c;
if (a <= b && a <= c)
too = a;
else if (b <= a && b <= c)
too = b;
else if (c <= a && c <= b)
too = c;
if (own>= a && a>= too)
frie = a;
else if (own >= b && b>= too)
frie = b;
else if ( own>= c && c>= too)
frie=c;
System.out.print(own +" "+ too + " "+ frie);
//Если c1 < c2 - меняем их местами
//Если c2 < c3 - меняем их местами
//Если c1 < c2 - меняем их местами//напишите тут ваш код
}
}