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