The sum of the three numbers A, B, and C is 166. It is known that B is 3 times more than A, and C is 5 less than A, so what is B?
A、B、C三个数的和是166，已知B比A的2倍还多3，C比A少5，那么B是多少．
<gadget id="calculator">42 * 2</gadget>
<output>84</output>

<gadget id="calculator">84 + 3</gadget>
<output>87</output>

<result>87</result>