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