<Table> Pakistani general election, 2018 <Tr> <Td_colspan="2"> </Td> </Tr> <Tr> <Td_colspan="2"> <Table> <Tr> <Td> ← 2013 </Td> <Td> 25 July 2018 </Td> <Td> Next → </Td> </Tr> </Table> </Td> </Tr> <Tr> <Td_colspan="2"> ← outgoing members elected members → </Td> </Tr> <Tr> <Th_colspan="2"> All 342 seats in the National Assembly 172 seats needed for a majority </Th> </Tr> <Tr> <Td_colspan="2"> Opinion polls </Td> </Tr> <Tr> <Th> Turnout </Th> <Td> 51.6% (3.4 pp) </Td> </Tr> <Tr> <Td_colspan="2"> <P> </P> <Table> <Tr> <Th> </Th> <Th> First party </Th> <Th> Second party </Th> <Th> Third party </Th> </Tr> <Tr> <Td> </Td> <Td> </Td> <Td> </Td> <Td> </Td> </Tr> <Tr> <Th> Leader </Th> <Td> Imran Khan </Td> <Td> Shehbaz Sharif </Td> <Td> Bilawal Bhutto Zardari </Td> </Tr> <Tr> <Th> Party </Th> <Td> PTI </Td> <Td> PML (N) </Td> <Td> PPP </Td> </Tr> <Tr> <Th> Leader since </Th> <Td> 25 April 1996 </Td> <Td> 6 March 2018 </Td> <Td> 30 December 2007 </Td> </Tr> <Tr> <Th> Leader's seat </Th> <Td> Mianwali - I </Td> <Td> Lahore - X </Td> <Td> Larkana - I </Td> </Tr> <Tr> <Th> Last election </Th> <Td> 35 seats, 16.92% </Td> <Td> 166 seats, 32.77% </Td> <Td> 42 seats, 15.23% </Td> </Tr> <Tr> <Th> Seats won </Th> <Td> 149 / 342 </Td> <Td> 82 / 342 </Td> <Td> 54 / 342 </Td> </Tr> <Tr> <Th> Seat change </Th> <Td> 114 </Td> <Td> 84 </Td> <Td> 12 </Td> </Tr> <Tr> <Th> Popular vote </Th> <Td> 16,903,702 </Td> <Td> 12,934,589 </Td> <Td> 6,924,356 </Td> </Tr> <Tr> <Th> Percentage </Th> <Td> 31.82% </Td> <Td> 24.35% </Td> <Td> 13.03% </Td> </Tr> <Tr> <Th> Swing </Th> <Td> 14.90 pp </Td> <Td> 8.42 pp </Td> <Td> 2.29 pp </Td> </Tr> </Table> </Td> </Tr> <Tr> <Td_colspan="2"> </Td> </Tr> <Tr> <Td_colspan="2"> <Table> <Tr> <Td> Prime Minister before election <P> Shahid Khaqan Abbasi PML (N) </P> </Td> <Td> Elected Prime Minister <P> Imran Khan PTI </P> </Td> </Tr> </Table> </Td> </Tr> </Table> <Tr> <Td_colspan="2"> <Table> <Tr> <Td> ← 2013 </Td> <Td> 25 July 2018 </Td> <Td> Next → </Td> </Tr> </Table> </Td> </Tr>

How many seats pti won in 2018 elections