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