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