The shortest is the 1.3-mile B42 route that connects Canarsie, Brooklyn, to a subway station and bus transfer hub. The longest is the S78's 19.5-mile trip across Staten Island with 117 stops. The average route is six miles. The transportation authority spends $565,000 annually to operate the B39.