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