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