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