Solution for first non repeated element