Implement createSubscription() returning { subscribe, notify, count }.subscribe(fn) returns an unsubscribe() function.
solve(events) runs the events and returns the log.
Events: 'sub' (subscribes), 'unsub:N' (unsubscribes Nth sub), 'notify:msg' (notifies all).
Sample tests