interface Any inline fun Any.safeAs(): T? = this as? T abstract class Summator { abstract fun plus(first: T, second: T): T }