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