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