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