An anti-aircraft gun can take a maximum of four shots at an enemy plane moving away from it.The probabilities of hitting the plane at the first, second, third and fourth shot are 0.4,0.3,0.2 and 0.1 respectively. What is the probability that the gun hits the plane?