Jack's enumerable student solution