fi -- another name for endif
fi marks the end of an if-statement and is exactly equivilent to endif, please see there for further information.
input "A number please: " a
if (a<10) then
print "Your number is less than 10."