IMPORTANT: Every time you are prompted to choose an elective, select Math, and only Math. Otherwise, you will not be able to access the full ending. P.S. Minor unavoidable spoilers.