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