Please read the following table in HTML format from a webpage and then answer the question in detail according to the table. Each table cell is defined by a <td> and a </td> tag. Each table row starts with a <tr> and ends with a </tr> tag. 'rowspan=m' and 'colspan=n' represents a cell spaning over 'm' rows and 'n' columns.

Webpage title:
LNWR Class F
Table title:
List of locomotives
Table:
<table id='hittask' contenteditable='False'>
<tr> <th colspan=1 rowspan=1 > LNWR no. </th><th colspan=1 rowspan=1 > Origin </th><th colspan=1 rowspan=1 > LMS no. </th><th colspan=1 rowspan=1 > Fate </th><th colspan=1 rowspan=1 > Notes </th></tr>
<tr> <td colspan=1 rowspan=1 > 899 </td><td colspan=1 rowspan=1 > Rebuilt from B 1907 </td><td colspan=1 rowspan=1 > (9610) </td><td colspan=1 rowspan=1 > Rebuilt to G1 1923 </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > 352 </td><td colspan=1 rowspan=1 > Rebuilt from B 1907 </td><td colspan=1 rowspan=1 > (9611) </td><td colspan=1 rowspan=1 > Withdrawn 1927 </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > 2114 </td><td colspan=1 rowspan=1 > Rebuilt from B 1908 </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Rebuilt to G1 1922 </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > 906 </td><td colspan=1 rowspan=1 > Rebuilt from B 1907 </td><td colspan=1 rowspan=1 > (9612) </td><td colspan=1 rowspan=1 > Rebuilt to G1 1923 </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > 1036 </td><td colspan=1 rowspan=1 > Rebuilt from B 1907 </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Rebuilt to G1 1921 </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td class="highlighted"  colspan=1 rowspan=1 > 1038 </td><td class="highlighted"  colspan=1 rowspan=1 > Rebuilt from E 1907 </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Rebuilt to G1 1921 </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > 2570 </td><td colspan=1 rowspan=1 > Rebuilt from B 1906 </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Rebuilt to G1 1921 </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > 1247 </td><td colspan=1 rowspan=1 > Rebuilt from B 1906 </td><td colspan=1 rowspan=1 > (9613) </td><td colspan=1 rowspan=1 > Rebuilt to G1 1923 </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > 1273 </td><td colspan=1 rowspan=1 > Rebuilt from B 1906 </td><td colspan=1 rowspan=1 > 9614 </td><td colspan=1 rowspan=1 > Withdrawn 1928 </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > 2573 </td><td colspan=1 rowspan=1 > Rebuilt from B 1908 </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Rebuilt to G1 1922 </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td class="highlighted"  colspan=1 rowspan=1 > 647 </td><td class="highlighted"  colspan=1 rowspan=1 > Rebuilt from E 1908 </td><td colspan=1 rowspan=1 > (9615) </td><td colspan=1 rowspan=1 > Rebuilt to G1 1925 </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > 1369 </td><td colspan=1 rowspan=1 > Rebuilt from B 1907 </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Rebuilt to G1 1922 </td><td colspan=1 rowspan=1 >  </td></tr>
</table>
Question:
From which machines were the Nos 1038 and 647 locomotives rebuilt?
Answer:
The Nos 1038 and 647 were rebuilt from E 1907 and 1908.