You have two bottles of pills marked with labels A and B. The pills are identical. The doctor has asked you to take one A pill and one B pill daily. You cant take more or less than that.
While taking out the pills one day, you took out one pill from A and by mistake took out two from B. You have no idea which pill is which now.
You cant throw away the expensive pills. What will you do now?
I want to fill my bucket using both cold and hot water.
I have two taps for both cold and hot water. The hot water tap fills the bucket in exact 6 hours and the cold water tap fills the bucket in exact 4 hours.
I turn both of them simultaneously but I forgot to turn off another tap which removes the water out of the bucket. This tap can empty the bucket in 12 hours.