The third Nanjing Yangtze River Bridge started construction on August 29, 2003, and was officially opened to traffic on October 7, 2005. How many days did it take for the bridge to open to traffic?
南京长江三桥从2003年8月29日动工，到2005年10月7日正式通车，大桥从开工到通车一共用了多少天．
<gadget id="calculator">31 - 29</gadget>
<output>2</output>

<gadget id="calculator">2 + 30 + 7 + 1</gadget>
<output>40</output>

<gadget id="calculator">366 + 365 + 40</gadget>
<output>771</output>

<result>771</result>