fun main(){ val n = readln().toInt() val s = readln().split("") var j = 0 val p = readln().split(" ").map { it.toInt() } for (i in 0..