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:
List of rulers of Lithuania
Table title:
Republic of Lithuania (1920–1940)
Table:
<table id='hittask' contenteditable='False'>
<tr> <th colspan=1 rowspan=1 > No </th><th colspan=1 rowspan=1 > Term </th><th colspan=1 rowspan=1 > President </th><th colspan=1 rowspan=1 > Image </th><th colspan=1 rowspan=1 > Remarks </th></tr>
<tr> <td colspan=1 rowspan=1 > 2 </td><td colspan=1 rowspan=1 > 19 June 1920 – 7 June 1926 </td><td colspan=1 rowspan=1 > Aleksandras Stulginskis </td><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > Acting President (as Constituent Assembly). Re-elected by the Seimas on 21 December 1922 and in June 1923. </td></tr>
<tr> <td colspan=1 rowspan=1 > 3 </td><td colspan=1 rowspan=1 > 7 June – 18 December 1926 </td><td colspan=1 rowspan=1 > Kazys Grinius </td><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > Elected by parliament, but overthrown by a military coup d'état. </td></tr>
<tr> <td colspan=1 rowspan=1 > — </td><td colspan=1 rowspan=1 > 18–19 December 1926 </td><td colspan=1 rowspan=1 > Jonas Staugaitis </td><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > Formally, for one day, as the head of Seimas (renounced the office after the coup d'état). </td></tr>
<tr> <td colspan=1 rowspan=1 > — </td><td colspan=1 rowspan=1 > 19 December 1926 </td><td colspan=1 rowspan=1 > Aleksandras Stulginskis </td><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > Formally, as the new head of Seimas, only for several hours. </td></tr>
<tr> <td colspan=1 rowspan=1 > — </td><td colspan=1 rowspan=1 > 19 December 1926 – 15 June 1940 </td><td colspan=1 rowspan=1 > Antanas Smetona </td><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > Second term, elected president after a military coup d'état; after the Soviet ultimatum of 1940 he fled to Germany and then to the USA. </td></tr>
<tr> <td colspan=1 rowspan=1 > — </td><td colspan=1 rowspan=1 > 15–17 June 1940 </td><td colspan=1 rowspan=1 > Antanas Merkys </td><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > The Prime Minister, de facto acting president after Smetona's defection. Not recognised by Lithuanian diplomats abroad; he assumed the role of president illegally, as Smetona neither resigned nor died. </td></tr>
<tr> <td colspan=1 rowspan=1 > — </td><td colspan=1 rowspan=1 > 17 June – August, 1940 </td><td colspan=1 rowspan=1 > Justas Paleckis </td><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > Chosen unconstitutionally by leaders of the Lithuanian communists under pressure from the Soviet Union, not recognized internationally or by the Lithuanian diplomatic service. </td></tr>
<tr> <td colspan=1 rowspan=1 > 4 </td><td colspan=1 rowspan=1 > 16 February 1949 – 26 November 1954 </td><td class="highlighted"  colspan=1 rowspan=1 > Jonas Žemaitis </td><td colspan=1 rowspan=1 > HPIM0823.JPG </td><td class="highlighted"  colspan=1 rowspan=1 > Officially named as the fourth (acting) President of Lithuania in March 2009. </td></tr>
</table>
Question:
Who are presidents of Lithuania in 1940?
Answer:
In 1940, presidents of Lithuania include Antanas Smetona, Antanas Merkys, and Justas Paleckis.