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