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?
What is the four-digit number in which the first digit is one-third the second, the third is the sum of the first two, and the last is three times the second?