John gave half of the apples he had plus one more to Jacob. He gave half of the remaining ones plus one more to James. Now, John was left with just one apple.
Can you find out how many did he have in the beginning?
You have to fill the below given grid in a manner that every row and column contains the digits 1 to 6. Also, make sure that the squares that are connected with each other must contains the same digit.