�来是N就算一种方案。因此，对于给出的N,你需要计算出方案数，并对10007取模。</div></div></div></div></div><div class="row"><div class="column"><h4 class="ui top attached block header">输入格式</h4><div class="ui bottom attached segment font-content"><div style="position: relative; overflow: hidden;"><div class=content><div style="background: white; line-height: 19.5pt" align="left">
<div><span style="line-height: 19.5pt;">输入一个数字N，1&lt;=n&lt;=10^500</span></div