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