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