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