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