<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def sample_counters(mc, system_info):
 """Sample every router counter in the machine."""

    return {
        (x, y): mc.get_router_diagnostics(x, y) for (x, y) in system_info
    }