impure function DynamicSelect<__Any> input __Any static; input __Any dynamic; output __Any selected; end DynamicSelect;