Libreoffice : Getting cell value from a range referring to another range

i have a row ‘1’ of minutes ( 1,2,3,4,5 …) and below a row ‘2’ of values ( 10,50,5,60,9…). How to get the minute of the greater value ?

An option.

image description