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:
Olivia Cooke
Table title:
Television
Table:
<table id='hittask' contenteditable='False'>
<tr> <th colspan=1 rowspan=1 > Year </th><th colspan=1 rowspan=1 > Title </th><th colspan=1 rowspan=1 > Role </th><th colspan=1 rowspan=1 > Notes </th></tr>
<tr> <td colspan=1 rowspan=1 > 2012 </td><th colspan=1 rowspan=1 > Blackout </th><td colspan=1 rowspan=1 > Meg Demoys </td><td colspan=1 rowspan=1 > 3 episodes </td></tr>
<tr> <td colspan=1 rowspan=1 > 2012 </td><th colspan=1 rowspan=1 > The Secret of Crickley Hall </th><td colspan=1 rowspan=1 > Nancy Linnet </td><td colspan=1 rowspan=1 > 3 episodes </td></tr>
<tr> <td class="highlighted"  colspan=1 rowspan=1 > 2013–2017 </td><th class="highlighted"  colspan=1 rowspan=1 > Bates Motel </th><td class="highlighted"  colspan=1 rowspan=1 > Emma Decody </td><td colspan=1 rowspan=1 > Main role; 44 episodes </td></tr>
<tr> <td colspan=1 rowspan=1 > 2015 </td><th colspan=1 rowspan=1 > Axe Cop </th><td colspan=1 rowspan=1 > Loch Ness Monster </td><td colspan=1 rowspan=1 > Voice role; episode: "Night Mission: The Extincter" </td></tr>
<tr> <td class="highlighted"  colspan=1 rowspan=1 > 2018 </td><th class="highlighted"  colspan=1 rowspan=1 > Vanity Fair </th><td class="highlighted"  colspan=1 rowspan=1 > Becky Sharp </td><td colspan=1 rowspan=1 > Main role; 7 episodes </td></tr>
<tr> <td colspan=1 rowspan=1 > 2019 </td><th colspan=1 rowspan=1 > Modern Love </th><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > In production </td></tr>
</table>
Question:
Which roles did Olivia Cooke star in?
Answer:
Olivia Cooke played the role of Emma Decody in Bates Motel from 2013 to 2017, and in 2018 starred as Becky Sharp in Vanity Fair.