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