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