There are 6 baskets on the table. Each basket has 6, 16, 17, 5, 9 and 8 apples. John chose sixth, Matt chose first, Emma chose second, Liam chose third, Olivia chose fourth, and Sean chose fifth. How many apples did John and Matt choose in total?