Sophie answered 84% of the questions on her science test correctly. If she answered 21 questions correctly, how many questions were on the test?