func main() var mp: dict :: #dict for i(0, 2) var h: int :: cui@inputInt() do mp.add((200 - h), 'A'.offset(i)) end for var values: []char block var valueList: List :: #List class List() +var li: list *func ctor() do me.li :: #list end func end class do mp.forEach(callback, valueList $ kuin@Class) func callback(key: int, value: char, data: kuin@Class): bool do(data $ List).li.add(value) ret true end func do values :: valueList.li.toArray() end block for i(0, 2) do cui@print("\{values[i]}\n") end for end func