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