get~~m:g/\d+/;say -1 max ceiling (1+$2*3600)/(60*$0-$1)