5. During the shooting practice, each soldier fired 10 times. One of them completed the task successfully and scored 90 points. How many times did he score 7 points, if he hit the bullseye 4 times, and the results of the other hits were sevens, eights, and nines? There were no misses at all.