helpppp
package com.codegym.task.task04.task0420;
/*
Sorting three numbers
*/
import java.util.Scanner;
public class Solution {
public static void main(String[] args) throws Exception
{
Scanner s = new Scanner(System.in);
int a = s.nextInt();
int b = s.nextInt();
int c = s.nextInt();
if (a > b && a > c)
{
if (b>c)
{
System.out.print(a+","+b+","+c);
}
else {
System.out.println(a+","+c+","+b);
}
}
else if (b > a && b > c)
{
if (a>c)
{
System.out.print(b+","+a+","+c);
}
else{
System.out.println(b+","+c+","+a);
}
}
else /*if (c > a && c > b)*/
{
if (a > b)
{
System.out.print(c+","+a+","+b);
}
else{
System.out.println(c+","+b+","+a);
}
}
}
}