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