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