An algebra test had two parts. Part I had 40 problems, and part II had 60 problems. Bernard got 80% of the problems on part I correct and 90% of the problems on part II correct. What was the total number of problems that Bernard got correct on the test?
How do I figure this out?