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