fun main(args : Array<String>){
//10.printInt()
//println(10.plusThree())
println(10.slice)
}
//extension Int
fun Int.printInt(){
print("value $this")
}
//return value
fun Int.plusThree(): Int{
return this + 3
}
//extension properties
val Int.slice : Int
get() = this / 2