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