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:
Third Van Agt cabinet
Table title:
Cabinet Members
Table:
<table id='hittask' contenteditable='False'>
<tr> <th colspan=3 rowspan=1 > Ministers </th><th colspan=2 rowspan=1 > Title/Ministry </th><th colspan=1 rowspan=1 > Term of office </th><th colspan=1 rowspan=1 > Party </th></tr>
<tr> <td colspan=1 rowspan=2 >  </td><td class="highlighted"  colspan=1 rowspan=2 > Dries van Agt </td><td colspan=1 rowspan=2 > Dries van Agt (born 1931) </td><td class="highlighted"  colspan=1 rowspan=1 > Prime Minister </td><td colspan=1 rowspan=1 > General Affairs </td><td class="highlighted"  colspan=1 rowspan=1 > 19 December 1977 – 4 November 1982 </td><td class="highlighted"  colspan=1 rowspan=2 > Christian Democratic Appeal </td></tr>
<tr> <td colspan=1 rowspan=1 > Minister </td><td colspan=1 rowspan=1 > Foreign Affairs </td><td colspan=1 rowspan=1 > 29 May 1982 – 4 November 1982 </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td class="highlighted"  colspan=1 rowspan=1 > Jan Terlouw </td><td colspan=1 rowspan=1 > Dr. Jan Terlouw (born 1931) </td><td class="highlighted"  colspan=1 rowspan=1 > Deputy Prime Minister / Minister </td><td colspan=1 rowspan=1 > Economic Affairs </td><td class="highlighted"  colspan=1 rowspan=1 > 11 September 1981 – 4 November 1982 </td><td class="highlighted"  colspan=1 rowspan=1 > Democrats 66 </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Max Rood </td><td colspan=1 rowspan=1 > Dr. Max Rood (1927–2001) </td><td colspan=1 rowspan=1 > Minister </td><td colspan=1 rowspan=1 > Interior </td><td colspan=1 rowspan=1 > 29 May 1982 – 4 November 1982 </td><td colspan=1 rowspan=1 > Democrats 66 </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Fons van der Stee </td><td colspan=1 rowspan=1 > Fons van der Stee (1928–1999) </td><td colspan=1 rowspan=1 > Minister </td><td colspan=1 rowspan=1 > Finance </td><td colspan=1 rowspan=1 > 5 March 1980 – 4 November 1982 </td><td colspan=1 rowspan=1 > Christian Democratic Appeal </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Job de Ruiter </td><td colspan=1 rowspan=1 > Dr. Job de Ruiter (1930–2015) </td><td colspan=1 rowspan=1 > Minister </td><td colspan=1 rowspan=1 > Justice </td><td colspan=1 rowspan=1 > 19 December 1977 – 4 November 1982 </td><td colspan=1 rowspan=1 > Christian Democratic Appeal </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Hans van Mierlo </td><td colspan=1 rowspan=1 > Hans van Mierlo (1931–2010) </td><td colspan=1 rowspan=1 > Minister </td><td colspan=1 rowspan=1 > Defence </td><td colspan=1 rowspan=1 > 11 September 1981 – 4 November 1982 </td><td colspan=1 rowspan=1 > Democrats 66 </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Til Gardeniers-Berendsen </td><td colspan=1 rowspan=1 > Til Gardeniers-Berendsen (born 1925) </td><td colspan=1 rowspan=1 > Minister </td><td colspan=1 rowspan=1 > Health and Environment </td><td colspan=1 rowspan=1 > 11 September 1981 – 4 November 1982 </td><td colspan=1 rowspan=1 > Christian Democratic Appeal </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Louw de Graaf </td><td colspan=1 rowspan=1 > Louw de Graaf (born 1930) </td><td colspan=1 rowspan=1 > Minister </td><td colspan=1 rowspan=1 > Social Affairs and Employment </td><td colspan=1 rowspan=1 > 29 May 1982 – 4 November 1982 </td><td colspan=1 rowspan=1 > Christian Democratic Appeal </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Wim Deetman </td><td colspan=1 rowspan=1 > Wim Deetman (born 1945) </td><td colspan=1 rowspan=1 > Minister </td><td colspan=1 rowspan=1 > Education and Sciences </td><td colspan=1 rowspan=1 > 29 May 1982 – 14 September 1989 </td><td colspan=1 rowspan=1 > Christian Democratic Appeal </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Henk Zeevalking </td><td colspan=1 rowspan=1 > Henk Zeevalking (1922–2005) </td><td colspan=1 rowspan=1 > Minister </td><td colspan=1 rowspan=1 > Transport and Water Management </td><td colspan=1 rowspan=1 > 11 September 1981 – 4 November 1982 </td><td colspan=1 rowspan=1 > Democrats 66 </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Jan de Koning </td><td colspan=1 rowspan=1 > Jan de Koning (1926–1994) </td><td colspan=1 rowspan=1 > Minister </td><td colspan=1 rowspan=1 > Agriculture and Fisheries </td><td colspan=1 rowspan=1 > 11 September 1981 – 4 November 1982 </td><td colspan=1 rowspan=1 > Christian Democratic Appeal </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Erwin Nypels </td><td colspan=1 rowspan=1 > Erwin Nypels (born 1933) </td><td colspan=1 rowspan=1 > Minister </td><td colspan=1 rowspan=1 > Housing and Spatial Planning </td><td colspan=1 rowspan=1 > 29 May 1982 – 4 November 1982 </td><td colspan=1 rowspan=1 > Democrats 66 </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Hans de Boer </td><td colspan=1 rowspan=1 > Hans de Boer (born 1937) </td><td colspan=1 rowspan=2 > Minister </td><td colspan=1 rowspan=2 > Culture, Recreation and Social Work </td><td colspan=1 rowspan=1 > 29 May 1982 – 11 October 1982 </td><td colspan=1 rowspan=1 > Christian Democratic Appeal </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Til Gardeniers-Berendsen </td><td colspan=1 rowspan=1 > Til Gardeniers-Berendsen (born 1925) </td><td colspan=1 rowspan=1 > 11 October 1982 – 4 November 1982 </td><td colspan=1 rowspan=1 > Christian Democratic Appeal </td></tr>
<tr> <th colspan=3 rowspan=1 > Ministers without portfolio </th><th colspan=2 rowspan=1 > Title/Portfolio/Ministry </th><th colspan=1 rowspan=1 > Term of office </th><th colspan=1 rowspan=1 > Party </th></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Jan de Koning </td><td colspan=1 rowspan=1 > Jan de Koning (1926–1994) </td><td colspan=1 rowspan=1 > Minister </td><td colspan=1 rowspan=1 > Netherlands Antilles Affairs (within Interior) </td><td colspan=1 rowspan=1 > 29 May 1982 – 7 November 1989 </td><td colspan=1 rowspan=1 > Christian Democratic Appeal </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Kees van Dijk </td><td colspan=1 rowspan=1 > Kees van Dijk (1931–2008) </td><td colspan=1 rowspan=1 > Minister </td><td colspan=1 rowspan=1 > Development Cooperation (within Foreign Affairs) </td><td colspan=1 rowspan=1 > 11 September 1981 – 4 November 1982 </td><td colspan=1 rowspan=1 > Christian Democratic Appeal </td></tr>
<tr> <th colspan=3 rowspan=1 > State Secretaries </th><th colspan=2 rowspan=1 > Title/Portfolio/Ministry </th><th colspan=1 rowspan=1 > Term of office </th><th colspan=1 rowspan=1 > Party </th></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Gerard van Leijenhorst </td><td colspan=1 rowspan=1 > Gerard van Leijenhorst (1928–2001) </td><td colspan=1 rowspan=1 > State Secretary </td><td colspan=1 rowspan=1 > Local Government Affairs Government Reform Urban Planning Public Housing Emergency Services Disaster Management Minority Affairs (within Interior) </td><td colspan=1 rowspan=1 > 11 September 1981 – 4 November 1982 </td><td colspan=1 rowspan=1 > Christian Democratic Appeal </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Hans van den Broek </td><td colspan=1 rowspan=1 > Hans van den Broek (born 1936) </td><td colspan=1 rowspan=1 > State Secretary </td><td colspan=1 rowspan=1 > European Affairs NATO Affairs Benelux Affairs International Aviation Policy (within Foreign Affairs) </td><td colspan=1 rowspan=1 > 11 September 1981 – 4 November 1982 </td><td colspan=1 rowspan=1 > Christian Democratic Appeal </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Michiel Scheltema </td><td colspan=1 rowspan=1 > Dr. Michiel Scheltema (1939) </td><td colspan=1 rowspan=1 > State Secretary </td><td colspan=1 rowspan=1 > Integration Immigration Asylum Affairs Privacy Policy Administrative Law Family Law Youth Justice International Law Rehabilitation Prevention (within Justice) </td><td colspan=1 rowspan=1 > 11 September 1981 – 4 November 1982 </td><td colspan=1 rowspan=1 > Democrats 66 </td></tr>
<tr> <td colspan=1 rowspan=2 >  </td><td colspan=1 rowspan=2 > Piet van Zeil </td><td colspan=1 rowspan=2 > Piet van Zeil (1927–2012) </td><td colspan=1 rowspan=1 > State Secretary </td><td colspan=1 rowspan=1 > Small Business Policy Retail Policy Competition Policy Regional Development Consumer Protection Tourism Affairs (within Economic Affairs) </td><td colspan=1 rowspan=1 > 11 September 1981 – 22 June 1986 </td><td colspan=1 rowspan=2 > Christian Democratic Appeal </td></tr>
<tr> <td colspan=1 rowspan=1 > State Secretary </td><td colspan=1 rowspan=1 > Social Security Unemployment Affairs Occupational Safety Social Services Youth Policy Elderly Policy Poverty Policy Disability Affairs Equality Emancipation (within Social Affairs and Employment) </td><td colspan=1 rowspan=1 > 12 June 1982 – 4 November 1982 </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Wim Dik </td><td colspan=1 rowspan=1 > Wim Dik (born 1939) </td><td colspan=1 rowspan=1 > State Secretary </td><td colspan=1 rowspan=1 > International Trade Export Promotion (within Economic Affairs) </td><td colspan=1 rowspan=1 > 11 September 1981 – 4 November 1982 </td><td colspan=1 rowspan=1 > Democrats 66 </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Jan van Houwelingen </td><td colspan=1 rowspan=1 > Jan van Houwelingen (1939–2013) </td><td colspan=1 rowspan=1 > State Secretary </td><td colspan=1 rowspan=1 > Personnel Affairs Equipment Policy Military Justice Veteran Affairs (within Defence) </td><td colspan=1 rowspan=1 > 14 September 1981 – 7 November 1989 </td><td colspan=1 rowspan=1 > Christian Democratic Appeal </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Ineke Lambers-Hacquebard </td><td colspan=1 rowspan=1 > Ineke Lambers-Hacquebard (1946–2014) </td><td colspan=1 rowspan=1 > State Secretary </td><td colspan=1 rowspan=1 > Environmental Policy (within Health and Environment) </td><td colspan=1 rowspan=1 > 11 September 1981 – 4 November 1982 </td><td colspan=1 rowspan=1 > Democrats 66 </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Ad Hermes </td><td colspan=1 rowspan=1 > Ad Hermes (1929–2002) </td><td colspan=1 rowspan=1 > State Secretary </td><td colspan=1 rowspan=1 > Primary Education Secondary Education Teacher Policy (within Education and Sciences) </td><td colspan=1 rowspan=1 > 9 January 1978 – 4 November 1982 </td><td colspan=1 rowspan=1 > Christian Democratic Appeal </td></tr>
<tr> <td colspan=7 rowspan=1 > Source: (in Dutch) Kabinet-Van Agt III Rijksoverheid </td></tr>
</table>
Question:
Who is the prime minister and who is the deputy prime minister in the cabinet?
Answer:
Dries van Agt of Christian Democratic Appeal was the Prime Minister and Jan Terlouw of Democrats 66 was the Deputy Prime Minister in Third Van Agt cabinet.