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