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