input: 
  from typing import List
  
  def three_layer_nn_output(input_layer: List[float], hidden_layer: List[List[float]], output_layer: List[float]) -> float:
      """ Compute the output of a 3-layer artificial neural network given the input layer,
      hidden layer, and output layer.
      >>> three_layer_nn_output([2, 3], [[0.1, 0.4], [0.8, 0.6], [0.3, 0.9]], [0.3, 0.7])
      0.78
      """
      import numpy as np
      hidden_layer_output = np.dot(np.array(input_layer), np.array(hidden_layer))
      output = np.dot(hidden_layer_output, np.array(output_layer))
      return output.item()
  
output:     import numpy as np
      hidden_layer_output = np.dot(np.array(input_layer), np.array(hidden_layer))
      output = np.dot(hidden_layer_output, np.array(output_layer))
      return output.item()