[DEBUG OUTPUT] PYTHON SORT BY TIMESTAMP
IntuitionBreak the offline events up so we can separate turning on and off. Sort by timestamp. Add a fractional delta (0.1) to the MESSAGE so its always process
# Intuition
Break the offline events up so we can separate turning on and off. Sort by timestamp. Add a fractional delta (0.1) to the MESSAGE so its always processed last. Process as we go.

# Complexity
- Time complexity:
nlog n to sort events. multiplied for each event up to the work that it takes for inputting the custom list of ids. To update all users with ALL, it is done at the end once for linear amount of work. For HERE, it is linear amount of work each time to see who is online and update.

- Space complexity:
Linear extra space to numberOfUsers is used. up to linear extra space for events is also used.


# Code
```python3 []
class Solution:
    def countMentions(self, numberOfUsers: int, events: List[List[str]]) -> List[int]:
        """Takes in events and returns a list of user's mentioned."""
        mentions = [ 0 for _ in range(numberOfUsers)]

        processed_events = []

        def _timestamp_sort(event: tuple[str, float|int, str]):
            """Returns the timestamp element of the event."""
            _, timestamp, _ = event
            return timestamp

        # print(f'Transforming events...')
        for each_event in events:
            event_type, timestamp, user_targeting = each_event
            timestamp = int(timestamp)
            if event_type == "MESSAGE":
                message_event = (event_type, timestamp + 0.1, user_targeting)
                processed_events.append(message_event)
            elif event_type == "OFFLINE":
              begin_offline_event = (event_type, (timestamp), user_targeting)
              begin_online_event = ("ONLINE", (timestamp + 60), user_targeting)
              processed_events.append(begin_offline_event)
              processed_events.append(begin_online_event)
        processed_events.sort(key=_timestamp_sort)

        for each_event in processed_events:
            print(f'{each_event}')

        print(f'\n\n')
        online_users_total = numberOfUsers
        total_mentions_lift = 0
        online_users_flags = [ (1,None) for _ in range(numberOfUsers)]  # 1 for ONLINE 0 for OFFLINE.


        def processMessage(user_targeting: str) -> None:
            """Update mentions based on user_targeting."""
            nonlocal total_mentions_lift
            nonlocal mentions

            print(f'\tMESSAGE')
            match user_targeting:
                case "ALL":
                    print(f'\t\tALL will be +1...')
                    total_mentions_lift += 1
                case "HERE":
                    print(f'\t\tONLINE will be +1...')
                    print(f'\t\t{online_users_flags}...')
                    for user, status_pair in enumerate(online_users_flags):
                        status, _ = status_pair
                        mentions[user] += status
                case _:  # seprate ids...
                    print(f'\t\CUSTOM will be +1...')
                    all_ids = user_targeting.split(' ')
                    for each_id in all_ids:
                        print(f'\t\t{each_id} +1...')
                        user = int(each_id[2:])  # i.e. id0 becomes 0 and say id10 becomes 10
                        mentions[user] += 1

        def processOffline(user_targeting:str, timestamp: int) -> None:
            """Updates online_users_flags to reflect offline users."""
            nonlocal online_users_flags
            user = int(user_targeting)
            print(f'\tTURNING OFF {user}')
            online_users_flags[user] = (0, timestamp)

        def processOnline(user_targeting:str, timestamp: int) -> None:
            """Updates online_users_flags to reflect online users."""
            nonlocal online_users_flags

            user = int(user_targeting)
            print(f'\tTURNING ON {user}?')
            status, last_offline = online_users_flags[user]
            if last_offline and (last_offline + 60) > timestamp:
                print(f'\t\tSTOPPED. current timestamp={timestamp} is during last updated offline period.')
                print(f'\t\tMust be off until {last_offline + 60}')
                return
            online_users_flags[user] = (1, None)

        for each_event in processed_events:
            event_type, timestamp, user_targeting = each_event
            print(f'looking at {each_event}')
            match event_type:
                case "MESSAGE":
                    processMessage(user_targeting)
                case "OFFLINE":
                    processOffline(user_targeting, timestamp)
                case "ONLINE":
                    processOnline(user_targeting, timestamp)
                case _:
                    raise RuntimeError(f'Bad event_type {event_type}')

        for i in range(numberOfUsers):
            mentions[i] += total_mentions_lift
    
        return mentions
```

# DEBUG OUTPUT
```
('OFFLINE', 58, '2')
('OFFLINE', 59, '40')
('OFFLINE', 69, '29')
('MESSAGE', 70.1, 'ALL')
('OFFLINE', 84, '28')
('OFFLINE', 91, '41')
('OFFLINE', 116, '27')
('ONLINE', 118, '2')
('ONLINE', 119, '40')
('ONLINE', 129, '29')
('ONLINE', 144, '28')
('ONLINE', 151, '41')
('MESSAGE', 153.1, 'id45 id14 id32 id38 id19 id10 id33 id16 id24 id21 id30 id28 id42 id46 id13 id12 id10 id26 id45 id19 id37 id32 id37 id7 id45 id15 id34 id25 id43 id31 id6 id5 id15 id0 id35 id42 id30 id42 id3 id0 id23 id22')
('ONLINE', 176, '27')
('MESSAGE', 182.1, 'ALL')
('MESSAGE', 202.1, 'id24 id9 id29 id26 id14')
('OFFLINE', 226, '26')
('OFFLINE', 256, '21')
('MESSAGE', 277.1, 'ALL')
('MESSAGE', 279.1, 'id6 id48 id12 id44 id6 id45 id28 id0 id33 id37 id36 id19 id21 id32 id49 id13 id12 id7 id5 id0 id46 id37 id41 id5 id43 id30 id36 id42 id44 id7 id20 id13 id29 id7 id20 id49 id13 id11 id43 id47')
('ONLINE', 286, '26')
('OFFLINE', 310, '26')
('ONLINE', 316, '21')
('MESSAGE', 323.1, 'ALL')
('OFFLINE', 325, '36')
('MESSAGE', 339.1, 'HERE')
('MESSAGE', 351.1, 'ALL')
('ONLINE', 370, '26')
('ONLINE', 385, '36')
('OFFLINE', 409, '11')
('MESSAGE', 415.1, 'id21 id36 id47 id41 id44 id2 id49 id25 id6 id32 id39 id34 id15 id4 id21 id23 id43 id43 id19 id37 id47 id46 id6 id18 id9 id21 id19 id28 id7 id8 id46 id42 id8 id5 id12 id22 id19 id25 id41 id48 id4 id12 id20 id39 id4 id32 id33 id9 id27 id46')
('OFFLINE', 425, '8')
('ONLINE', 469, '11')
('OFFLINE', 485, '8')
('ONLINE', 485, '8')
('MESSAGE', 496.1, 'id38 id1 id20 id39 id40 id7 id26 id14 id26 id36 id3 id28')
('OFFLINE', 503, '10')
('MESSAGE', 517.1, 'HERE')
('OFFLINE', 518, '36')
('ONLINE', 545, '8')
('MESSAGE', 546.1, 'HERE')
('ONLINE', 563, '10')
('OFFLINE', 568, '4')
('ONLINE', 578, '36')
('MESSAGE', 583.1, 'HERE')
('OFFLINE', 594, '42')
('MESSAGE', 595.1, 'HERE')
('ONLINE', 628, '4')
('OFFLINE', 636, '32')
('ONLINE', 654, '42')
('MESSAGE', 669.1, 'HERE')
('OFFLINE', 686, '13')
('OFFLINE', 691, '30')
('ONLINE', 696, '32')
('OFFLINE', 727, '49')
('OFFLINE', 733, '29')
('ONLINE', 746, '13')
('ONLINE', 751, '30')
('OFFLINE', 768, '14')
('ONLINE', 787, '49')
('ONLINE', 793, '29')
('MESSAGE', 810.1, 'ALL')
('ONLINE', 828, '14')
('MESSAGE', 865.1, 'HERE')
('MESSAGE', 890.1, 'id26 id43 id30 id26 id0 id1 id41 id0 id33 id28 id1 id21 id8 id16 id33 id44 id21 id28 id13 id13 id43 id38 id11 id10 id27 id32 id29 id34 id23 id37')
('MESSAGE', 892.1, 'id27 id7 id37 id17 id37 id9 id28 id18 id10 id19 id43 id22 id13 id42 id12 id33 id43 id4 id39 id47 id5 id15 id19 id34 id42 id17 id2 id3 id24 id21 id27 id16 id15 id14 id16')
('OFFLINE', 907, '29')
('MESSAGE', 908.1, 'HERE')
('MESSAGE', 913.1, 'HERE')
('OFFLINE', 942, '31')
('MESSAGE', 958.1, 'HERE')
('ONLINE', 967, '29')
('OFFLINE', 987, '3')
('OFFLINE', 991, '18')
('ONLINE', 1002, '31')
('ONLINE', 1047, '3')
('ONLINE', 1051, '18')



looking at ('OFFLINE', 58, '2')
	TURNING OFF 2
looking at ('OFFLINE', 59, '40')
	TURNING OFF 40
looking at ('OFFLINE', 69, '29')
	TURNING OFF 29
looking at ('MESSAGE', 70.1, 'ALL')
	MESSAGE
		ALL will be +1...
looking at ('OFFLINE', 84, '28')
	TURNING OFF 28
looking at ('OFFLINE', 91, '41')
	TURNING OFF 41
looking at ('OFFLINE', 116, '27')
	TURNING OFF 27
looking at ('ONLINE', 118, '2')
	TURNING ON 2?
looking at ('ONLINE', 119, '40')
	TURNING ON 40?
looking at ('ONLINE', 129, '29')
	TURNING ON 29?
looking at ('ONLINE', 144, '28')
	TURNING ON 28?
looking at ('ONLINE', 151, '41')
	TURNING ON 41?
looking at ('MESSAGE', 153.1, 'id45 id14 id32 id38 id19 id10 id33 id16 id24 id21 id30 id28 id42 id46 id13 id12 id10 id26 id45 id19 id37 id32 id37 id7 id45 id15 id34 id25 id43 id31 id6 id5 id15 id0 id35 id42 id30 id42 id3 id0 id23 id22')
	MESSAGE
	\CUSTOM will be +1...
		id45 +1...
		id14 +1...
		id32 +1...
		id38 +1...
		id19 +1...
		id10 +1...
		id33 +1...
		id16 +1...
		id24 +1...
		id21 +1...
		id30 +1...
		id28 +1...
		id42 +1...
		id46 +1...
		id13 +1...
		id12 +1...
		id10 +1...
		id26 +1...
		id45 +1...
		id19 +1...
		id37 +1...
		id32 +1...
		id37 +1...
		id7 +1...
		id45 +1...
		id15 +1...
		id34 +1...
		id25 +1...
		id43 +1...
		id31 +1...
		id6 +1...
		id5 +1...
		id15 +1...
		id0 +1...
		id35 +1...
		id42 +1...
		id30 +1...
		id42 +1...
		id3 +1...
		id0 +1...
		id23 +1...
		id22 +1...
looking at ('ONLINE', 176, '27')
	TURNING ON 27?
looking at ('MESSAGE', 182.1, 'ALL')
	MESSAGE
		ALL will be +1...
looking at ('MESSAGE', 202.1, 'id24 id9 id29 id26 id14')
	MESSAGE
	\CUSTOM will be +1...
		id24 +1...
		id9 +1...
		id29 +1...
		id26 +1...
		id14 +1...
looking at ('OFFLINE', 226, '26')
	TURNING OFF 26
looking at ('OFFLINE', 256, '21')
	TURNING OFF 21
looking at ('MESSAGE', 277.1, 'ALL')
	MESSAGE
		ALL will be +1...
looking at ('MESSAGE', 279.1, 'id6 id48 id12 id44 id6 id45 id28 id0 id33 id37 id36 id19 id21 id32 id49 id13 id12 id7 id5 id0 id46 id37 id41 id5 id43 id30 id36 id42 id44 id7 id20 id13 id29 id7 id20 id49 id13 id11 id43 id47')
	MESSAGE
	\CUSTOM will be +1...
		id6 +1...
		id48 +1...
		id12 +1...
		id44 +1...
		id6 +1...
		id45 +1...
		id28 +1...
		id0 +1...
		id33 +1...
		id37 +1...
		id36 +1...
		id19 +1...
		id21 +1...
		id32 +1...
		id49 +1...
		id13 +1...
		id12 +1...
		id7 +1...
		id5 +1...
		id0 +1...
		id46 +1...
		id37 +1...
		id41 +1...
		id5 +1...
		id43 +1...
		id30 +1...
		id36 +1...
		id42 +1...
		id44 +1...
		id7 +1...
		id20 +1...
		id13 +1...
		id29 +1...
		id7 +1...
		id20 +1...
		id49 +1...
		id13 +1...
		id11 +1...
		id43 +1...
		id47 +1...
looking at ('ONLINE', 286, '26')
	TURNING ON 26?
looking at ('OFFLINE', 310, '26')
	TURNING OFF 26
looking at ('ONLINE', 316, '21')
	TURNING ON 21?
looking at ('MESSAGE', 323.1, 'ALL')
	MESSAGE
		ALL will be +1...
looking at ('OFFLINE', 325, '36')
	TURNING OFF 36
looking at ('MESSAGE', 339.1, 'HERE')
	MESSAGE
		ONLINE will be +1...
		[(1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (0, 310), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (0, 325), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None)]...
looking at ('MESSAGE', 351.1, 'ALL')
	MESSAGE
		ALL will be +1...
looking at ('ONLINE', 370, '26')
	TURNING ON 26?
looking at ('ONLINE', 385, '36')
	TURNING ON 36?
looking at ('OFFLINE', 409, '11')
	TURNING OFF 11
looking at ('MESSAGE', 415.1, 'id21 id36 id47 id41 id44 id2 id49 id25 id6 id32 id39 id34 id15 id4 id21 id23 id43 id43 id19 id37 id47 id46 id6 id18 id9 id21 id19 id28 id7 id8 id46 id42 id8 id5 id12 id22 id19 id25 id41 id48 id4 id12 id20 id39 id4 id32 id33 id9 id27 id46')
	MESSAGE
	\CUSTOM will be +1...
		id21 +1...
		id36 +1...
		id47 +1...
		id41 +1...
		id44 +1...
		id2 +1...
		id49 +1...
		id25 +1...
		id6 +1...
		id32 +1...
		id39 +1...
		id34 +1...
		id15 +1...
		id4 +1...
		id21 +1...
		id23 +1...
		id43 +1...
		id43 +1...
		id19 +1...
		id37 +1...
		id47 +1...
		id46 +1...
		id6 +1...
		id18 +1...
		id9 +1...
		id21 +1...
		id19 +1...
		id28 +1...
		id7 +1...
		id8 +1...
		id46 +1...
		id42 +1...
		id8 +1...
		id5 +1...
		id12 +1...
		id22 +1...
		id19 +1...
		id25 +1...
		id41 +1...
		id48 +1...
		id4 +1...
		id12 +1...
		id20 +1...
		id39 +1...
		id4 +1...
		id32 +1...
		id33 +1...
		id9 +1...
		id27 +1...
		id46 +1...
looking at ('OFFLINE', 425, '8')
	TURNING OFF 8
looking at ('ONLINE', 469, '11')
	TURNING ON 11?
looking at ('OFFLINE', 485, '8')
	TURNING OFF 8
looking at ('ONLINE', 485, '8')
	TURNING ON 8?
		STOPPED. current timestamp=485 is during last updated offline period.
		Must be off until 545
looking at ('MESSAGE', 496.1, 'id38 id1 id20 id39 id40 id7 id26 id14 id26 id36 id3 id28')
	MESSAGE
	\CUSTOM will be +1...
		id38 +1...
		id1 +1...
		id20 +1...
		id39 +1...
		id40 +1...
		id7 +1...
		id26 +1...
		id14 +1...
		id26 +1...
		id36 +1...
		id3 +1...
		id28 +1...
looking at ('OFFLINE', 503, '10')
	TURNING OFF 10
looking at ('MESSAGE', 517.1, 'HERE')
	MESSAGE
		ONLINE will be +1...
		[(1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (0, 485), (1, None), (0, 503), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None)]...
looking at ('OFFLINE', 518, '36')
	TURNING OFF 36
looking at ('ONLINE', 545, '8')
	TURNING ON 8?
looking at ('MESSAGE', 546.1, 'HERE')
	MESSAGE
		ONLINE will be +1...
		[(1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (0, 503), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (0, 518), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None)]...
looking at ('ONLINE', 563, '10')
	TURNING ON 10?
looking at ('OFFLINE', 568, '4')
	TURNING OFF 4
looking at ('ONLINE', 578, '36')
	TURNING ON 36?
looking at ('MESSAGE', 583.1, 'HERE')
	MESSAGE
		ONLINE will be +1...
		[(1, None), (1, None), (1, None), (1, None), (0, 568), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None)]...
looking at ('OFFLINE', 594, '42')
	TURNING OFF 42
looking at ('MESSAGE', 595.1, 'HERE')
	MESSAGE
		ONLINE will be +1...
		[(1, None), (1, None), (1, None), (1, None), (0, 568), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (0, 594), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None)]...
looking at ('ONLINE', 628, '4')
	TURNING ON 4?
looking at ('OFFLINE', 636, '32')
	TURNING OFF 32
looking at ('ONLINE', 654, '42')
	TURNING ON 42?
looking at ('MESSAGE', 669.1, 'HERE')
	MESSAGE
		ONLINE will be +1...
		[(1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (0, 636), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None)]...
looking at ('OFFLINE', 686, '13')
	TURNING OFF 13
looking at ('OFFLINE', 691, '30')
	TURNING OFF 30
looking at ('ONLINE', 696, '32')
	TURNING ON 32?
looking at ('OFFLINE', 727, '49')
	TURNING OFF 49
looking at ('OFFLINE', 733, '29')
	TURNING OFF 29
looking at ('ONLINE', 746, '13')
	TURNING ON 13?
looking at ('ONLINE', 751, '30')
	TURNING ON 30?
looking at ('OFFLINE', 768, '14')
	TURNING OFF 14
looking at ('ONLINE', 787, '49')
	TURNING ON 49?
looking at ('ONLINE', 793, '29')
	TURNING ON 29?
looking at ('MESSAGE', 810.1, 'ALL')
	MESSAGE
		ALL will be +1...
looking at ('ONLINE', 828, '14')
	TURNING ON 14?
looking at ('MESSAGE', 865.1, 'HERE')
	MESSAGE
		ONLINE will be +1...
		[(1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None)]...
looking at ('MESSAGE', 890.1, 'id26 id43 id30 id26 id0 id1 id41 id0 id33 id28 id1 id21 id8 id16 id33 id44 id21 id28 id13 id13 id43 id38 id11 id10 id27 id32 id29 id34 id23 id37')
	MESSAGE
	\CUSTOM will be +1...
		id26 +1...
		id43 +1...
		id30 +1...
		id26 +1...
		id0 +1...
		id1 +1...
		id41 +1...
		id0 +1...
		id33 +1...
		id28 +1...
		id1 +1...
		id21 +1...
		id8 +1...
		id16 +1...
		id33 +1...
		id44 +1...
		id21 +1...
		id28 +1...
		id13 +1...
		id13 +1...
		id43 +1...
		id38 +1...
		id11 +1...
		id10 +1...
		id27 +1...
		id32 +1...
		id29 +1...
		id34 +1...
		id23 +1...
		id37 +1...
looking at ('MESSAGE', 892.1, 'id27 id7 id37 id17 id37 id9 id28 id18 id10 id19 id43 id22 id13 id42 id12 id33 id43 id4 id39 id47 id5 id15 id19 id34 id42 id17 id2 id3 id24 id21 id27 id16 id15 id14 id16')
	MESSAGE
	\CUSTOM will be +1...
		id27 +1...
		id7 +1...
		id37 +1...
		id17 +1...
		id37 +1...
		id9 +1...
		id28 +1...
		id18 +1...
		id10 +1...
		id19 +1...
		id43 +1...
		id22 +1...
		id13 +1...
		id42 +1...
		id12 +1...
		id33 +1...
		id43 +1...
		id4 +1...
		id39 +1...
		id47 +1...
		id5 +1...
		id15 +1...
		id19 +1...
		id34 +1...
		id42 +1...
		id17 +1...
		id2 +1...
		id3 +1...
		id24 +1...
		id21 +1...
		id27 +1...
		id16 +1...
		id15 +1...
		id14 +1...
		id16 +1...
looking at ('OFFLINE', 907, '29')
	TURNING OFF 29
looking at ('MESSAGE', 908.1, 'HERE')
	MESSAGE
		ONLINE will be +1...
		[(1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (0, 907), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None)]...
looking at ('MESSAGE', 913.1, 'HERE')
	MESSAGE
		ONLINE will be +1...
		[(1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (0, 907), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None)]...
looking at ('OFFLINE', 942, '31')
	TURNING OFF 31
looking at ('MESSAGE', 958.1, 'HERE')
	MESSAGE
		ONLINE will be +1...
		[(1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (0, 907), (1, None), (0, 942), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None), (1, None)]...
looking at ('ONLINE', 967, '29')
	TURNING ON 29?
looking at ('OFFLINE', 987, '3')
	TURNING OFF 3
looking at ('OFFLINE', 991, '18')
	TURNING OFF 18
looking at ('ONLINE', 1002, '31')
	TURNING ON 31?
looking at ('ONLINE', 1047, '3')
	TURNING ON 3?
looking at ('ONLINE', 1051, '18')
	TURNING ON 18?
```
['Python3']