A fighter plane is flying horizontally at a height of 250m from ground with constant velocity of 500m/s. It passes exactly over a cannon which can fire a shell at any time in any direction with a speed of 100m/s. Find the duration of time for which the plane is in danger of being hit by a cannon shell.