https://www.acmicpc.net/problem/10817
int find = Arrays.stream(r.readLine().split(" "))
.mapToInt(Integer::parseInt)
.sorted()
.toArray()[1]; // 두 번째 요소 직접 접근
int[] numbers = Arrays.stream(r.readLine().split(" "))
.mapToInt(Integer::parseInt)
.toArray();
int max = Arrays.stream(numbers).max().getAsInt();
int min = Arrays.stream(numbers).min().getAsInt();
int find = Arrays.stream(numbers)
.filter(n -> n != max && n != min)
.findFirst()
.getAsInt();
int find = Arrays.stream(r.readLine().split(" "))
.mapToInt(Integer::parseInt)
.sorted()
.skip(1)
.findFirst()
.getAsInt();