A squirrel can run at a maximum speed of 24 miles per hour. At this rate, how many seconds will it take the squirrel to run 12 miles?