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