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