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