CCC '07 J1 - Who is in the Middle?
Source Code
import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
byte[] bowls = {in.nextByte(), in.nextByte(), in.nextByte()};
Arrays.sort(bowls);
System.out.println(bowls[1]);
}
}