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