18. (3 points) When shooting with a rifle, 10 bullets are issued, and for each hit on the bullseye, 2 extra bullets are rewarded; when shooting with a pistol, 14 bullets are issued, and for each hit on the bullseye, 4 extra bullets are rewarded. Xiao Wang shoots with a rifle, and Xiao Li shoots with a pistol. When they have used up all the issued and rewarded bullets, the number of shots they have fired is equal. If Xiao Wang hits the bullseye 30 times, then how many times does Xiao Li hit the bullseye $\qquad$?