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