I have done a python program in which it prints the peak elements of the given sequence. I need to print the lower element before and after each peak elements.