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