if a ball is thrown vertically upward and is caught 5 seconds,how fast must have been going when it left the person s hand?help

time in air is 5s.

hf=hi+vi*t-4.9t^2
0=0+5*vi-25*4.9 solve for Vi