https://www.acmicpc.net/problem/2490
import java.util.*
import java.lang.String.format
fun main(args: Array<String>) {
val s=Scanner(System.`in`)
for(i in 0 until 3){
var sum=0
for(j in 0 until 4){
var a=s.nextInt()
sum+=a
}
if(sum==3) println("A")
else if(sum==2) println("B")
else if(sum==1) println("C")
else if(sum==0) println("D")
else if(sum==4) println("E")
}
}