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