Create a function that takes an array and returns the first element

I tried it on Edabit and the check was accepted