import java.util.Arrays;
public class Main {
public static void main(String[] args) {
int[] Numbers = new int[7];
Arrays.sort(Numbers);
int a = Numbers[0];
int b = Numbers[1];
int c = Numbers[6] - a - b;
System.out.println(a + " " + b + " " + c);
}
}
This is my code, but USACO says my output is zero since I dont have a reader