<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_backend(backend):
 """Figure out which backend to use."""

    if backend == "random":
        backends = list_backends()
        random.shuffle(backends)
        return backends[0]

    return backend