I gave a few attempts with ChatGPT and DeepSeek. Neither of them could get it right. So this goalpost can remain in place for the time being.
(I am assuming that the task is actually possible to accomplish. If it isn't possible, then it isn't a very good goalpost!)