Length or Distance

Input
Output