Hello,
Do not worry, your marks will not be deducted if you have written the correct question numbers. Examiners usually focus on the question numbers and answers. However, it is always better to follow the proper format next time.
Hope it helps !
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile