Why are you surprised? ChatGPT basically access all data available online and looks for the answers. ChatGPT is just like any other student allowed to take tests with the his notes during the exam. It would be impressive if ChatGTP passed