def challenge_response_accepted(challenge, response):
    """Simple check if a valid response for the challenge was provided."""
    try:
        response = int(response)
    except ValueError:
        return False
    expected = int((challenge / 2.0) + (challenge / 3.0) - (challenge / 4.0))
    return expected == response