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