Try this array formula

=INDEX(A1:A4,MIN(IF(NOT(ISNA(A1:A4)),ROW(A1:A4))))