A 1 km long train is travelling at 30km/h. If the train enters a tunnel that is 1 km long, how much time will it take for the train to clear the tunnel?