def parse_elevations_response(elevations_response):
  """Extract elevation values in order from API response.

  Args:
    elevations_response: list of elevation responses in the deserialized
    Elevation API response format
  Returns:
    a list of elevations (in meters) in the same order as given response
  """
  return [result["elevation"] for result in elevations_response]