Kotlin: working with extensions

Example:

fun String.shout(): String = this.toUpperCase()
Kotlin extensions allow you to add new functions to existing classes.

Solution:

print("hello".shout())

Beginner's Guide to Kotlin