Admittedly what I wrote wasnt terribly original and at any rate matching wits with me isnt a very high bar. But I still couldnt help but be impressed! Definitely would have been useful to have ChatGPT when I was thinking about this problem.