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