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