In line 37, I'm trying to find the index of the element. I'm not sure this would be an effective way to solve the task anyway. Any help appreciated.