Last week, there were 40 problems assigned for math homework. Nisa did 55% of them correctly. How many problems did Nisa get right?