My code looks like this so far:
public class ThreeSort { public static void main(String[] args) { int num1 = Integer.parseInt(args[0]); int
int mid = num1 + num2 + num3 - min - max;
Sorry for briefness - posted from my phone.
It must be self-evident that the middle number is the sum of the three numbers minus the max minus the min. Would also work if max == mid or max == min or even both.