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