9. Given an array of integers A, implement a program to find and retumn the local maximum clement in it. For examplc, Input= [5, 17, 100, 11, 1, 50, 30], Output = [100, 50]. (10%)