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:
Hugh Armstrong (actor)
Table title:
Film
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 > 1989 </td><td class="highlighted"  colspan=1 rowspan=1 > How to Get Ahead in Advertising </td><td class="highlighted"  colspan=1 rowspan=1 > Harry Wax </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td class="highlighted"  colspan=1 rowspan=1 > 1982 </td><td class="highlighted"  colspan=1 rowspan=1 > The Beastmaster </td><td class="highlighted"  colspan=1 rowspan=1 > Jun Priest </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > 1972 </td><td colspan=1 rowspan=1 > Eagle in a Cage </td><td colspan=1 rowspan=1 > English soldier </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > 1972 </td><td colspan=1 rowspan=1 > Death Line </td><td colspan=1 rowspan=1 > The Man </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > 1970 </td><td colspan=1 rowspan=1 > Girly </td><td colspan=1 rowspan=1 > Friend in No. 5 </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > 1968 </td><td colspan=1 rowspan=1 > Prudence and the Pill </td><td colspan=1 rowspan=1 > Ted the chauffeur </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > 1968 </td><td colspan=1 rowspan=1 > Tell Me Lies </td><td colspan=1 rowspan=1 > Guest </td><td colspan=1 rowspan=1 >  </td></tr>
</table>
Question:
What roles did Hugh Armstrong appear as in the films The Beastmaster and How to Get Ahead in Advertising?
Answer:
Hugh Armstrong appeared as Jun Priest in the 1982 film, The Beastmaster, and as Harry Wax in How to Get Ahead in Advertising.