Hyperscience interview question

Compute a simple score over a set & print statistics based on that.