1. 3

I previously posted an earlier iteration; this is a significant rewrite.

  1.