In one of his interviews, President Putin used the expression "Кто в лавке-то останется? Кто работать будет?", apparently alluding to some well-known joke, but I can't find any reference to the original.
Is this expression idiomatic? What does it mean? What is its origin?