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