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