
'''simple docstring'''





def        snake_case							(		UpperCAmelCase	)->			bool:







      """simple docstring"""
      if not isinstance(UpperCAmelCase      ,  UpperCAmelCase	):
            raise ValueError('Input series is not valid, valid series - [1, 2/3, 2]'	)
      if len(UpperCAmelCase	) == 0:
            raise ValueError('Input list must be a non empty list'	)
      if len(UpperCAmelCase	) == 1 and series[0] != 0:
            return True
      __A       	=			[]
      __A       	=			len(UpperCAmelCase	)
      for i in range(0      ,  UpperCAmelCase	):
            if series[i] == 0:
                  raise ValueError('Input series cannot have 0 as an element'	)
            rec_series.append(1 / series[i]	)
      __A       	=			rec_series[1] - rec_series[0]
      for index in range(2      ,  UpperCAmelCase	):
            if rec_series[index] - rec_series[index - 1] != common_diff:
                  return False
      return True





def        snake_case							(		UpperCAmelCase	)->			float:







      """simple docstring"""
      if not isinstance(UpperCAmelCase      ,  UpperCAmelCase	):
            raise ValueError('Input series is not valid, valid series - [2, 4, 6]'	)
      if len(UpperCAmelCase	) == 0:
            raise ValueError('Input list must be a non empty list'	)
      __A       	=			0
      for val in series:
            answer += 1 / val
      return len(UpperCAmelCase	) / answer


if __name__ == "__main__":
 import doctest

 doctest.testmod()








'''simple docstring'''





def        snake_case							(		UpperCAmelCase	)->			int:







      """simple docstring"""
      return 1 if input_a == 0 else 0





def        snake_case							(		)->			None:







      """simple docstring"""
      assert not_gate(0	) == 1
      assert not_gate(1	) == 0


if __name__ == "__main__":
 print(not_gate(0))
 print(not_gate(1))






