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