https://www.acmicpc.net/problem/5565
import java.util.* fun main(args: Array<String>) { val s=Scanner(System.`in`) var sum=s.nextInt() for(i in 0 until 9){ var a=s.nextInt() sum-=a } print(sum) }