find last element from areay #coding programing