Solve a stack aggregation problem where you get just the diff for each month and need to efficiently keep track. Implement aggregate_stack_diffs(monthly_ops), where each month contains stack operations of the form ["push", value] or ["pop"]. Return the stack sum and maximum value after each month, using null for the maximum when the stack is empty.
Input is a list of monthly operation lists. Each pop is valid, and values are integers.
def aggregate_stack_diffs(monthly_ops):