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