Trains are required to sound a horn when they are approximately: