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