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