Use max(A) to find the value you want, then use that value in this method from another post:
Questions