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