solution
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import java.util.Arrays;
import java.util.Scanner;
public class BOJ10817 {
public static void main(String[] args) {
// boj10817
Scanner s = new Scanner(System.in);
int []iar = new int[3];
for(int j = 0; j < iar.length; j ++) {
iar[j] = s.nextInt();
}
s.close();
Arrays.sort(iar);
System.out.println(iar[1]);
}
}