A puzzle asked to me at an interview.