Xiao Zhang prepared some money to buy CDs. If the price of each CD is 30 yuan, there will be 10 yuan left after buying. As a result, the actual price of the CD is 40 yuan, so he needs to go home and take another 50 yuan. Yuan is just enough. May I ask: How much did Xiao Zhang originally prepare?
小张准备了一些钱买CD，如果每张CD的价格是30元，买完后还能剩下10元钱，结果CD的实际价格是40元一张，所以他还需回家再取50元才正好够．请问：小张原来准备了多少钱？
<gadget id="calculator">10 + 50</gadget>
<output>60</output>

<gadget id="calculator">40 - 30</gadget>
<output>10</output>

<gadget id="calculator">60 / 10</gadget>
<output>6</output>

<gadget id="calculator">6 * 30</gadget>
<output>180</output>

<gadget id="calculator">180 + 10</gadget>
<output>190</output>

<result>190</result>