def answer_score(num_humans) -> float:
    """
    Calculates VQA score in [0,1] depending on number of humans having given the same answer
    """
    if num_humans == 0:
        return .0
    elif num_humans == 1:
        return .3
    elif num_humans == 2:
        return .6
    elif num_humans == 3:
        return .9
    else:
        return 1