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