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