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