Dennis received $10 x 2 = $<<10*2=20>>20.

So, he received a total of $20 + $3 = $<<20+3=23>>23 change.

Therefore, Dennis initially had $27 + $23 = $<<27+23=50>>50.

# Answer

50
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
After buying shirts worth $27 from a store, Dennis received 2 $10 bills and $3 in loose coins for his change. How much money did Dennis have initially?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
50
After buying shirts worth $27 from a store, Dennis received 2 $10 bills and $3 in loose coins for his change. How much money did Dennis have initially?
train