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