user
Given an array of integers, find the maximum possible difference of two elements in the array.
Array: [1, 5, 4, 7, 9, 8]


assistant
The maximum difference of two elements in the array [1, 5, 4, 7, 9, 8] is 8 (9 - 1).