



'''simple docstring'''





def 						__snake_case(				_lowerCAmelCase		)		-> bool:
      if not isinstance(_lowerCAmelCase     ,   _lowerCAmelCase		):
            raise ValueError("""Input series is not valid, valid series - [2, 4, 6]"""		)
      if len(_lowerCAmelCase		) == 0:
            raise ValueError("""Input list must be a non empty list"""		)
      if len(_lowerCAmelCase		) == 1:
            return True
      snake_case__  :    List[str]    						=      series[1] - series[0]
      for index in range(len(_lowerCAmelCase		) - 1		):
            if series[index + 1] - series[index] != common_diff:
                  return False
      return True





def 						__snake_case(				_lowerCAmelCase		)		-> float:
      if not isinstance(_lowerCAmelCase     ,   _lowerCAmelCase		):
            raise ValueError("""Input series is not valid, valid series - [2, 4, 6]"""		)
      if len(_lowerCAmelCase		) == 0:
            raise ValueError("""Input list must be a non empty list"""		)
      snake_case__  :    Any    						=      0
      for val in series:
            answer += val
      return answer / len(_lowerCAmelCase		)


if __name__ == "__main__":
       import doctest

       doctest.testmod()





'''simple docstring'''





from transformers import BertTokenizerFast

from .custom_tokenization import CustomTokenizer







class     UpperCAmelCase_       (       _a	):
    """simple docstring"""







    lowercase					=		CustomTokenizer
    pass
