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