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