Here’s how to use pmax() function.maximum value,position
Here’s how to use pmin() function.minimum value,position
Here’s how to use pselect() function.sequence member,position