This was for a code jam, but backed out.