In a math contest, Riley and Ofelia are on one team. The team's final score is obtained by adding the scores of the students of the same team. Out of the 35 questions, Riley got 3 mistakes while Ofelia got 5 more than half the score of Riley. How many incorrect answers did their team get?
How many questions did Riley get right? ** Riley's score is 35 - 3 = <<35-3=32>>32.
How many questions did Riley get right? ** Half of Riley's score is 32/2 = <<32/2=16>>16.
How many questions did Ofelia get right? ** So Ofelia's score is 16 + 5 = <<16+5=21>>21.
How many incorrect answers did Ofelia get? ** Hence, Ofelia got 35 - 21 = <<35-21=14>>14 incorrect answers.
How many incorrect answers did their team get? ** Therefore, their team got 3 + 14 = <<3+14=17>>17 incorrect answers.
#### 17