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