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