You have a 2 containers. Container A: 3 liters in volume. Container B: 5 liters in volume. There is another container which is 4 liters in volume. It is the target container. You need to pour exactly 4 liters of water into it from one or both of the containers. There is one rule. Both containers A & B should be empty just after the target is filled. That means the last drop from either of the containers or both of them goes straight into the target container, and not anywhere else. (So basically, you cant pour water into the target container from container B and spill away the last liter of water). How would you handle the task?