





def 						A_							(	_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
 UpperCamelCase      :   Tuple			      =  series[1] - series[0]
 for index in range(len(_lowerCAmelCase	) - 1	):
  if series[index + 1] - series[index] != common_diff:
   return False
 return True



def 						A_							(	_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"	)
 UpperCamelCase      :   Union[str, Any]			      =  0
 for val in series:
  answer += val
 return answer / len(_lowerCAmelCase	)


if __name__ == "__main__":
    import doctest

    doctest.testmod()







def 						A_							(	_lowerCAmelCase	)		->					bool:
 UpperCamelCase      :   List[Any]			      =  0
 for ch in input_str:
  UpperCamelCase      :   Optional[Any]			      =  ord(_lowerCAmelCase	)
  UpperCamelCase      :   Optional[Any]			      =  pow(2				,  _lowerCAmelCase	)

  # If we already turned on bit for current character's unicode
  if bitmap >> ch_unicode & 1 == 1:
   return False
  bitmap |= ch_bit_index_on
 return True


if __name__ == "__main__":
    import doctest

    doctest.testmod()
