Added Problem 24 'diff_select'