First find how many demerits Andy got for showing up late: 2 demerits/time * 6 times = <<2*6=12>>12 demerits

Then subtract the number of demerits he's gotten so far to find how many more he can get before getting fired: 50 demerits - 12 demerits - 15 demerits = <<50-12-15=23>>23 demerits

# Answer

23
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Andy can get 50 demerits in a month before getting fired. If he got 2 demerits per instance for showing up late 6 times and 15 demerits for making an inappropriate joke, how many more demerits can he get this month before getting fired?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
23
Andy can get 50 demerits in a month before getting fired. If he got 2 demerits per instance for showing up late 6 times and 15 demerits for making an inappropriate joke, how many more demerits can he get this month before getting fired?
train