fun main(args: Array<String>) {
    val n = readLine()!!.toInt()
    val s = readLine()!!

    val charMap = (0..25).map { ('A' + it) to ('A' + ((it + n) % 26)) }
        .toMap()
    s.forEach {
        print(charMap[it])
    }
}