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