You are given a math word problem and you are supposed to apply multiple mathematical operators like addition, subtraction, multiplication, or division on the numbers embedded in the text to answer the following question and then only report the final numerical answer.

at the arcade jerry won 29 tickets playing 'whack a mole ' and 17 tickets playing 'skee ball ' . if he spent 12 of his tickets on a hat how many tickets does jerry have left ?
34