e
proc main() =
  let size = 10
  let randomList = generateRandomList(size)
  
  echo "Random List:", randomList

  let sum = calculateSum(randomList)
  echo "Sum:", sum

  let average = calculateAverage(randomList)
  echo "Average:", average

  let filteredList = filterNumbersAboveAverage(randomList, average)
  echo "Numbers above Average:", filteredList

# Run the main procedure
main()
    </code></pre>
    <script src="test.js"></script>
  </body>
</html>