Implement a class with methods push that takes in numeric values, and pop which returns the largest value that has been passed in and removes it from the pool of values. For grading, process an array of operations represented as ["push", value] or ["pop"], and return the values produced by pop in order. Assume every pop occurs when the pool is nonempty; duplicate and negative values are valid.
def max_value_operations(operations):