School
Inventure Academy
Country
Age
13
Explanation is given in pdf attached. The solution works. The mathematical proof is not given for the formula. But the formula is generated by multiple trials and strategies observed.