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