function mean (data) {
  let total = data.reduce((total, num) => { return total + num })
  return parseFloat(total) / data.length
}

module.exports = mean

if (require.main === module) {
  let data = JSON.parse(process.argv[2])
  console.log(mean(data))
}

@@ -1,8 +1,31 @@
+module.exports = mean%0A%0A
 function
@@ -149,39 +149,16 @@
 ngth%0A%7D%0A%0A
-module.exports = mean%0A%0A
 if (requ

rewrite readme