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