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