You and your two friends are working in a multinational company. How can you three find out the average salary of you all without disclosing your own salary to the other two?
You have a basket containing ten apples. You have ten friends, who each desire an apple. You give each of your friends one apple.
Now all your friends have one apple each, yet there is an apple remaining in the basket.
How?