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