Math Problem 2023 Code Solutions