Codes generated by ChatGPT