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:
Ram Pickup
Table title:
Engines
Table:
<table id='hittask' contenteditable='False'>
<tr> <th colspan=1 rowspan=1 > Model </th><th colspan=1 rowspan=1 > Years </th><th colspan=1 rowspan=1 > Engine </th><th colspan=1 rowspan=1 > Power </th><th colspan=1 rowspan=1 > Torque </th></tr>
<tr> <td class="highlighted"  colspan=1 rowspan=5 > 1500 </td><td colspan=1 rowspan=1 > 2002-2008 </td><td colspan=1 rowspan=1 > 3.7 L (226 cu in) Magnum V6 </td><td colspan=1 rowspan=1 > 215 hp (160 kW; 218 PS) </td><td colspan=1 rowspan=1 > 235 lb⋅ft (319 N⋅m) </td></tr>
<tr> <td colspan=1 rowspan=1 > 2002-2007 </td><td colspan=1 rowspan=1 > 4.7 L (287 cu in) Magnum V8 </td><td colspan=1 rowspan=1 > 235 hp (175 kW; 238 PS) </td><td colspan=1 rowspan=1 > 295 lb⋅ft (400 N⋅m) </td></tr>
<tr> <td colspan=1 rowspan=1 > 2008-2013 </td><td colspan=1 rowspan=1 > 4.7 L (287 cu in) Magnum V8 </td><td colspan=1 rowspan=1 > 310 hp (231 kW; 314 PS) </td><td colspan=1 rowspan=1 > 330 lb⋅ft (447 N⋅m) </td></tr>
<tr> <td colspan=1 rowspan=1 > 2002-2003 </td><td colspan=1 rowspan=1 > 5.9 L (360 cu in) Magnum V8 </td><td colspan=1 rowspan=1 > 245 hp (183 kW; 248 PS) </td><td colspan=1 rowspan=1 > 335 lb⋅ft (454 N⋅m) </td></tr>
<tr> <td colspan=1 rowspan=1 > 2003-2008 </td><td class="highlighted"  colspan=1 rowspan=1 > 5.7 L (345 cu in) Hemi V8 </td><td class="highlighted"  colspan=1 rowspan=1 > 345 hp (257 kW; 350 PS) </td><td colspan=1 rowspan=1 > 375 lb⋅ft (508 N⋅m) </td></tr>
<tr> <td colspan=1 rowspan=7 > 2500/3500 </td><td colspan=1 rowspan=1 > 2009 </td><td colspan=1 rowspan=1 > 5.7 L (345 cu in) Hemi V8 </td><td colspan=1 rowspan=1 > 390 hp (291 kW; 395 PS) </td><td colspan=1 rowspan=1 > 410 lb⋅ft (556 N⋅m) </td></tr>
<tr> <td colspan=1 rowspan=1 > 2002-2003 SO "6" Vin Designation </td><td colspan=1 rowspan=1 > 5.9 L (360 cu in) Cummins diesel I6 </td><td colspan=1 rowspan=1 > 250 hp (186 kW; 253 PS) </td><td colspan=1 rowspan=1 > 460 lb⋅ft (624 N⋅m) </td></tr>
<tr> <td colspan=1 rowspan=1 > 2002–2003 SO California Emissions </td><td colspan=1 rowspan=1 > 5.9 L (360 cu in) Cummins diesel I6 </td><td colspan=1 rowspan=1 > 235 hp (175 kW; 238 PS) </td><td colspan=1 rowspan=1 > 460 lb⋅ft (624 N⋅m) </td></tr>
<tr> <td colspan=1 rowspan=1 > 2002-2004 HO "C" Vin Designation </td><td colspan=1 rowspan=1 > 5.9 L (360 cu in) Cummins diesel I6 </td><td colspan=1 rowspan=1 > 305 hp (227 kW; 309 PS) </td><td colspan=1 rowspan=1 > 555 lb⋅ft (752 N⋅m) </td></tr>
<tr> <td colspan=1 rowspan=1 > 2004.5-2007 HO </td><td colspan=1 rowspan=1 > 5.9 L (360 cu in) Cummins diesel I6 </td><td colspan=1 rowspan=1 > 325 hp (242 kW; 330 PS) </td><td colspan=1 rowspan=1 > 610 lb⋅ft (827 N⋅m) </td></tr>
<tr> <td colspan=1 rowspan=1 > 2007-2009 </td><td colspan=1 rowspan=1 > 6.7 L (408 cu in) Cummins diesel I6 </td><td colspan=1 rowspan=1 > 350 hp (261 kW; 355 PS) </td><td colspan=1 rowspan=1 > 650 lb⋅ft (881 N⋅m) </td></tr>
<tr> <td colspan=1 rowspan=1 > 2002-2003 </td><td colspan=1 rowspan=1 > 8.0 L (488 cu in) Magnum V10 </td><td colspan=1 rowspan=1 > 310 hp (231 kW; 314 PS) </td><td colspan=1 rowspan=1 > 450 lb⋅ft (610 N⋅m) </td></tr>
<tr> <td colspan=1 rowspan=3 > Chassis Cab </td><td colspan=1 rowspan=1 > 2008–2009 </td><td colspan=1 rowspan=1 > 5.7 L (345 cu in) Hemi V8 (3500 Only) </td><td colspan=1 rowspan=1 > 345 hp (257 kW; 350 PS) </td><td colspan=1 rowspan=1 > 375 lb⋅ft (508 N⋅m) </td></tr>
<tr> <td colspan=1 rowspan=1 > 2009 </td><td colspan=1 rowspan=1 > 5.7 L (345 cu in) Hemi V8 (3500 Only) </td><td colspan=1 rowspan=1 > 388 hp (289 kW; 393 PS) </td><td colspan=1 rowspan=1 > 404 lb⋅ft (548 N⋅m) </td></tr>
<tr> <td colspan=1 rowspan=1 > 2008–2009 </td><td colspan=1 rowspan=1 > 6.7 L (408 cu in) Cummins diesel I6 </td><td colspan=1 rowspan=1 > 305 hp (227 kW; 309 PS) </td><td colspan=1 rowspan=1 > 610 lb⋅ft (827 N⋅m) </td></tr>
<tr> <td colspan=1 rowspan=1 > SRT-10 </td><td colspan=1 rowspan=1 > 2004-2006 </td><td colspan=1 rowspan=1 > 8.3 L (505 cu in) Viper V10 </td><td colspan=1 rowspan=1 > 510 hp (380 kW; 517 PS) </td><td colspan=1 rowspan=1 > 535 lb⋅ft (725 N⋅m) </td></tr>
</table>
Question:
What kind of engine does the Ram 1500 have?
Answer:
The Ram 1500 has a 345 hp 5.7L Hemi V8 Engine.