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