package Yukicoder /** * Created by hichikawa on 2015/11/02. */ fun main(args: Array) { fun readLineLongArray() : List { val str = readLine() as String val arrStr = str.split(" ") val ret = arrStr.map { it.toLong() } return ret } fun readLineLong() : Long { val str = readLine() as String return str.toLong() } fun readLineStringArray() : List { val str = readLine() as String val arrStr = str.split(" ") return arrStr } val arrStr = readLineStringArray() val str = arrStr[0] val num1 = arrStr[1].toInt() val num2 = arrStr[2].toInt() for (i in 0..(str.length-1)) { if (i == num1 || i == num2) continue print(str[i]) } println() }