When Xiao Liang calculated the addition of two numbers, he mistook an addend 24.5 as 2.45, and the result was 27.8. What is the correct sum?
小亮在计算两数相加时，错把一个加数24.5看作2.45，结果得27.8，正确的和应是多少？
<gadget id="calculator">24.5 - 2.45</gadget>
<output>22.05</output>

<gadget id="calculator">22.05 + 27.8</gadget>
<output>49.85</output>

<result>49.85</result>