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