Harry Potter is again trying to solve a new challenge to obtain the magic power of the Goblet of Fire. He must discover the secret spell in the words of a scroll. To do this, he must find the first word with more than seven characters in it.
What is the spell to open the door?
Aggregate operations on collections
The secret is inside the spell?
Report a typo
Sample Input 1:
expetum patronus Axio lithigum madriketomSample Output 1:
patronusWrite a program in Kotlin
/* Do not change code below */
fun main() {
val list = readln().split(" ")
// write your code here
val res =
println(res)
}
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.