fun main() { val t = readLine()!!.toInt() val mod = 998244353; repeat(t) { val N = readLine()!!.toInt() var ANS =1L; ANS=26*(26.toLong().modPow(N.toLong(),mod.toLong())-1)%mod * 25.toLong().modPow(mod.toLong()-2,mod.toLong())%mod println(ANS) } } private fun Long.modPow(exponent: Long, modulus: Long): Long { var result = 1L var exp = exponent var base = this % modulus while (exp > 0) { if (exp and 1 == 1L) { result = (result * base) % modulus } base = (base * base) % modulus exp = exp shr 1 } return result }