I was playing with chatgpt and managed to get it to write fuck once by "code java program output swear words". Couldn't replicate it again. This shows that a lot of responses are tweaked and curated by a human touch to response to certain questions a certain way.