There are 23 types of entrance tickets: 9 are for the visit of Machu Picchu only, 4 to visit Machu Picchu and Wayna Picchu, 2 to visit Machu Picchu and Machu Mountain and 8 to visit Machu Picchu and Huchuy Picchu.
The H in the name ticket (ex: Machu H8) indicates the minimum time to enter to the site, within a 1 hour period. All the tickets include the visit to Machu Picchu and are valid for maximum 4 hours.