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