Problem and solutions

Problem from the past IMO contests