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