A company rewards its employees with bonuses based on profits. When the profit is less than or equal to 100,000 yuan, 10% of the profit will be paid; if the profit is more than 100,000 yuan, but less than or equal to 200,000 yuan, the part of 100,000 yuan will be paid according to the above regulations; According to 8% bonus. When the profit is more than 200,000 yuan, the part of 200,000 yuan will be rewarded according to the above regulations, and the part of more than 200,000 yuan will be rewarded at 5%. When the profit is 500,000 yuan, how much bonus should be paid out?
某公司奖励员工，根据利润发放奖金．利润低于或等于10万元时，发利润的10%，利润高于10万元，而低于或等于20万元时，10万元部分按上述规定发放奖金，高于10万元的部分按8%发奖金．利润高于20万元时，20万元部分按上述规定发放奖金，高于20万的部分按5%发奖金．当利润为50万元时，应该发放多少奖金？
<gadget id="calculator">10 / 100</gadget>
<output>1/10 = around 0.1</output>

<gadget id="calculator">10 * (1/10)</gadget>
<output>1</output>

<gadget id="calculator">8 / 100</gadget>
<output>2/25 = around 0.08</output>

<gadget id="calculator">10 * (2/25)</gadget>
<output>4/5 = around 0.8</output>

<gadget id="calculator">5 / 100</gadget>
<output>1/20 = around 0.05</output>

<gadget id="calculator">30 * (1/20)</gadget>
<output>3/2 = around 1.5</output>

<gadget id="calculator">1 + (4/5) + (3/2)</gadget>
<output>33/10 = around 3.3</output>

<result>33/10 = around 3.3</result>