def prob_service(state, lambda_1, mu, num_of_servers):
    """
    Gets the probability of finishing a service
    """
    return (min(state[1], num_of_servers) * mu) / (
        lambda_1 + (mu * min(state[1], num_of_servers))
    )