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