Cannot find a solution for such task:

There are a plane missing in one of two regions with probability 0.8 in the first and probability 0.2 in the second region. 10 helicopters have been sent to find the plane, each one of them can be sent to exactly one region. Each helicopter independently from other finds the plane with probability 0.2, if the plane is in concrete region.
How many helicopters should be sent to each of regions in order to have probability to find the plane as big as possible? How big is this probability?

This task is under Total probability formula/Bayes probability formula chapter, but I cannot figure out how to use them.

2. Originally Posted by waytogo
Cannot find a solution for such task:

There are a plane missing in one of two regions with probability 0.8 in the first and probability 0.2 in the second region. 10 helicopters have been sent to find the plane, each one of them can be sent to exactly one region. Each helicopter independently from other finds the plane with probability 0.2, if the plane is in concrete region.
How many helicopters should be sent to each of regions in order to have probability to find the plane as big as possible? How big is this probability?

This task is under Total probability formula/Bayes probability formula chapter, but I cannot figure out how to use them.
Maximise

0.8Pr(X > 0) + 0.2Pr(Y>0)

where X ~ Binomial(n, p = 0.2) and Y ~ Binomial(10-n, p = 0.2).

Trial and error will be an efficient approach for finding the required value of n.