Added Code to find the best possible strategy among 12800 combinations