Karma rating system: employees add or remove karma points for others ('@employee +++'); implement AddKarma(employeeId, points) and GetMaxKarmaEmployee().
Implement karma_system(operations), where each operation is ['ADD', employeeId, points] or ['GET']. Return an array containing the employee selected by each GET. Karma is cumulative. For equal current karma, prefer the employee with the higher historical karma peak; if still tied, prefer the most recently rated employee.
def karma_system(operations):