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