Mary gives away 26/2 = <<26/2=13>>13 blue shirts.

Mary gives away 36/3 = <<36/3=12>>12 brown shirts.

Mary has 26-13 = <<26-13=13>>13 blue shirts left.

Mary has 36-12 = <<36-12=24>>24 brown shirts left.

Mary has 13+24 = <<13+24=37>>37 shirts left.

# Answer

37
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Mary has 26 blue shirts and 36 brown shirts. If she gives away half of her blue shirts and a third of her brown shirts, how many shirts does she have left?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
37
Mary has 26 blue shirts and 36 brown shirts. If she gives away half of her blue shirts and a third of her brown shirts, how many shirts does she have left?
train