In a maths competition each correct answer gets 3 marks, but one mark is deducted for each incorrect answer.
Grace answers all 30 questions that are on the test and scores 30 marks. How many questions did she get wrong?