Etsy Interview Question

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.