def get_min(current_min, input_score):
    """
    compare two input numbers, and return smaller one.
    :param current_min: int, the current min score.
    :param input_score: int, the score just input.
    :return: int, compare two numbers and return smaller one.
    """
    if current_min != 0 and current_min < input_score:
        return current_min
    return input_score