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:
2018 Kansas City Royals season
Table title:
American League Wild Card
Table:
<table id='hittask' contenteditable='False'>
<tr> <th colspan=1 rowspan=1 > vteWild Card teams (Top 2 qualify for 1-game playoff) </th><th colspan=1 rowspan=1 > W </th><th colspan=1 rowspan=1 > L </th><th colspan=1 rowspan=1 > Pct. </th><th colspan=1 rowspan=1 > GB </th></tr>
<tr> <td colspan=1 rowspan=1 > New York Yankees </td><td colspan=1 rowspan=1 > 100 </td><td colspan=1 rowspan=1 > 62 </td><td colspan=1 rowspan=1 > 0.617 </td><td colspan=1 rowspan=1 > +3 </td></tr>
<tr> <td colspan=1 rowspan=1 > Oakland Athletics </td><td colspan=1 rowspan=1 > 97 </td><td colspan=1 rowspan=1 > 65 </td><td colspan=1 rowspan=1 > 0.599 </td><td colspan=1 rowspan=1 > — </td></tr>
<tr> <td colspan=1 rowspan=1 > Tampa Bay Rays </td><td colspan=1 rowspan=1 > 90 </td><td colspan=1 rowspan=1 > 72 </td><td colspan=1 rowspan=1 > 0.556 </td><td colspan=1 rowspan=1 > 7 </td></tr>
<tr> <td colspan=1 rowspan=1 > Seattle Mariners </td><td colspan=1 rowspan=1 > 89 </td><td colspan=1 rowspan=1 > 73 </td><td colspan=1 rowspan=1 > 0.549 </td><td colspan=1 rowspan=1 > 8 </td></tr>
<tr> <td colspan=1 rowspan=1 > Los Angeles Angels </td><td colspan=1 rowspan=1 > 80 </td><td colspan=1 rowspan=1 > 82 </td><td colspan=1 rowspan=1 > 0.494 </td><td colspan=1 rowspan=1 > 17 </td></tr>
<tr> <td colspan=1 rowspan=1 > Minnesota Twins </td><td colspan=1 rowspan=1 > 78 </td><td colspan=1 rowspan=1 > 84 </td><td colspan=1 rowspan=1 > 0.481 </td><td colspan=1 rowspan=1 > 19 </td></tr>
<tr> <td colspan=1 rowspan=1 > Toronto Blue Jays </td><td colspan=1 rowspan=1 > 73 </td><td colspan=1 rowspan=1 > 89 </td><td colspan=1 rowspan=1 > 0.451 </td><td colspan=1 rowspan=1 > 24 </td></tr>
<tr> <td colspan=1 rowspan=1 > Texas Rangers </td><td colspan=1 rowspan=1 > 67 </td><td colspan=1 rowspan=1 > 95 </td><td colspan=1 rowspan=1 > 0.414 </td><td colspan=1 rowspan=1 > 30 </td></tr>
<tr> <td colspan=1 rowspan=1 > Detroit Tigers </td><td colspan=1 rowspan=1 > 64 </td><td colspan=1 rowspan=1 > 98 </td><td colspan=1 rowspan=1 > 0.395 </td><td colspan=1 rowspan=1 > 33 </td></tr>
<tr> <td colspan=1 rowspan=1 > Chicago White Sox </td><td colspan=1 rowspan=1 > 62 </td><td colspan=1 rowspan=1 > 100 </td><td colspan=1 rowspan=1 > 0.383 </td><td colspan=1 rowspan=1 > 35 </td></tr>
<tr> <td class="highlighted"  colspan=1 rowspan=1 > Kansas City Royals </td><td class="highlighted"  colspan=1 rowspan=1 > 58 </td><td class="highlighted"  colspan=1 rowspan=1 > 104 </td><td colspan=1 rowspan=1 > 0.358 </td><td colspan=1 rowspan=1 > 39 </td></tr>
<tr> <td class="highlighted"  colspan=1 rowspan=1 > Baltimore Orioles </td><td class="highlighted"  colspan=1 rowspan=1 > 47 </td><td class="highlighted"  colspan=1 rowspan=1 > 115 </td><td colspan=1 rowspan=1 > 0.290 </td><td colspan=1 rowspan=1 > 50 </td></tr>
</table>
Question:
How did the Kansas City Royals and Baltimore Orioles finish?
Answer:
The Kansas City Royals finished 58-104 in the 2018 season, ahead of only the Baltimore Orioles, who finished 47-115.