<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def announced(self, state, announcement):
        '''
        This part of contract is just to let the guy know we are here.
        '''
        state.problem = state.factory(state.agent, **announcement.payload)
        state.medium.bid(message.Bid())