You are camping with your friends. You have a flashlight for any emergency and have brought 8 batteries along with you. Your brother calls to tell you that four of those batteries are already dead.
Your flashlight requires two working batteries to run. What is the least number of pairs you will need to test to guarantee that you can get the flashlight on?
In the image below, you can see two glasses and two matchsticks.You need to move four matchsticks in such a manner that the crosses come inside the glasses. Note: you cannot move the crossed.