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