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