fn main(): Unit = {
    Console.print("=== Ownership Transfer Test ===")
    let a = List.range(1, 100)
    let alias = a
    let len1 = List.length(alias)
    let b = List.map(a, fn(x: Int): Int => x * 2)
    let c = List.filter(b, fn(x: Int): Bool => x > 50)
    let d = List.reverse(c)
    Console.print("Ownership transfer chain done")
}
