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