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