For example, the longest plateau in 5 5 10 14 7 7 7 6 12 3 0 0 0 6 0 is (10,3). If the longest plateau is not unique, return the last one. Needless to say, make your program as efficient as possible.
You may write the program in any language of your choice. However it may be simplest to complete this Python program template.