The person started with zero initial velocity, covered a 1 km distance and ended with zero velocity, so the acceleration is zero. Hence, the average friction force is zero.