How many 3-digit numbers have a first digit which is triple the final digit?
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
How many 3-digit numbers have a first digit which is triple the final digit?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
30
How many 3-digit numbers have a first digit which is triple the final digit?
train