Sophia took a math quiz last week. There were 44 problems on the quiz and Sophia answered 50% of them correctly. How many problems did Sophia get correct?