Secret code to save the city

Report a typo

Ethan Hunt is ready for another "Mission: Impossible". To prevent the escape of a virus from an illegal laboratory, he must type the correct code. He only knows that the code is obtained in the following way: given a list of words, he must take the first word that starts with "m" if reversed and type this reversed word. Please write the code to help Ethan disable the biological weapon.

Sample Input 1:

exilium gold silver bronze platinum

Sample Output 1:

muilixe
Write a program in Kotlin
/* Do not change code below */
fun main() {
val list = readln().split(" ")
// write your code here
val res =

println(res)
}
___

Create a free account to access the full topic