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