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