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