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